[swift-evolution] [Review] SE-0097: Normalizing naming for "negative" attributes

Trent Nadeau tanadeau at gmail.com
Sat May 28 14:26:20 CDT 2016


I meant writing a proposal for having noescape be the default with an
`@escaping` attribute to have different behavior. `@once` would be a
separate proposal and looks to be out of scope for Swift 3.0.

The former change was mentioned by Chris Lattner in
http://article.gmane.org/gmane.comp.lang.swift.evolution/16896.

On Sat, May 28, 2016 at 3:21 PM, Cheyo Ximenez <cheyo at masters3d.com> wrote:

> Are you talking about writing a proposal for @escaping or @once after it
> becomes feasible?
> I haven't seen a proposal for making `noescape` the default. Do you think
> that is with in the swift 3 scope and goal of source braking changes?
>
> This is where is I saw this first.
>
>
> https://github.com/apple/swift-evolution/blob/master/proposals/0073-noescape-once.md
>
> On May 28, 2016, at 10:18 AM, Trent Nadeau <tanadeau at gmail.com> wrote:
>
> I agree with Jose. I especially like the idea of making `@noescape` the
> default with a new `@escaping` attribute. As I believed was mentioned in an
> earlier review, this would also make the proposed `@noescape(once)` just be
> `@once`. I'd be happy to write the proposal for that rename.
>
> On Wed, May 25, 2016 at 12:43 PM, Jose Cheyo Jimenez via swift-evolution <
> swift-evolution at swift.org> wrote:
>
>>
>> >       * What is your evaluation of the proposal?
>> -1.  noreturn is a term of art that is googable, renaming will make it
>> obscure imo specially since it is not that common in iOS code.
>> If the core team were to keep `noreturn` then `nonscaping` will be weird,
>> but then if `noescape` became the default then (the non negative ;-)
>> `escaping` would make sense.
>>
>> >       * Is the problem being addressed significant enough to warrant a
>> change to Swift?
>>
>> no.
>>
>> >       * Does this proposal fit well with the feel and direction of
>> Swift?
>>
>> no.
>>
>> >       * If you have used other languages or libraries with a similar
>> feature, how do you feel that this proposal compares to those?
>>
>> n/a
>>
>> >       * How much effort did you put into your review? A glance, a quick
>> reading, or an in-depth study?
>>
>> read the thread.
>>
>> _______________________________________________
>> swift-evolution mailing list
>> swift-evolution at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-evolution
>>
>
>
>
> --
> Trent Nadeau
>
>


-- 
Trent Nadeau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160528/b1eb47ee/attachment.html>


More information about the swift-evolution mailing list