Per discussion with the Core Team (driven by SE-0039), this proposal has been revised to align with a broader and more consistent consistent naming scheme. Specifically, we prefer identifiers in the # namespace to use lower-camel case, and to follow the syntax of a primary declaration, statement, or expression from the base language wherever possible.
In the case of SE-0034, instead of the formerly accepted:
This provides syntax that looks like an imperative function call that affects the logical source location at that point in the file.
Given that this feature is not a widely visible end-user feature and that the core team had agreement on this point, we’re taking the unusual step of just amending an already accepted proposal (in an effort to reduce unnecessary process overhead). However, if you have any concerns about this, please bring them up on swift-evolution.
Thanks,
-Chris
···
On Feb 27, 2016, at 10:20 PM, Chris Lattner <clattner@apple.com> wrote:
FWIW, to me it looks like a declarative statement about how the compiler
should treat the following lines of source. A name beginning with "set"
would be more imperative, IMO. I like declarative better.
···
on Fri Mar 11 2016, Chris Lattner <swift-evolution@swift.org> wrote:
This provides syntax that looks like an imperative function call that
affects the logical source location at that point in the file.
On 14 Mar 2016, at 22:30, Dave Abrahams via swift-evolution <swift-evolution@swift.org> wrote:
on Fri Mar 11 2016, Chris Lattner <swift-evolution@swift.org> wrote:
This provides syntax that looks like an imperative function call that
affects the logical source location at that point in the file.
FWIW, to me it looks like a declarative statement about how the compiler
should treat the following lines of source. A name beginning with "set"
would be more imperative, IMO. I like declarative better.
I think maybe my posting wasn't clear. I'm not looking for alternatives, FWIW. I like the resolution *because* it looks declarative to me.
···
On Mar 15, 2016, at 2:29 AM, Ben Rimmington <me@benrimmington.com> wrote:
On 14 Mar 2016, at 22:30, Dave Abrahams via swift-evolution <swift-evolution@swift.org> wrote:
on Fri Mar 11 2016, Chris Lattner <swift-evolution@swift.org> wrote:
This provides syntax that looks like an imperative function call that
affects the logical source location at that point in the file.
FWIW, to me it looks like a declarative statement about how the compiler
should treat the following lines of source. A name beginning with "set"
would be more imperative, IMO. I like declarative better.