[swift-evolution] Method cascading (was Re: Request for Discussion: Setup closures)
Chris Lattner
clattner at apple.com
Mon Dec 7 18:40:16 CST 2015
> On Dec 7, 2015, at 4:35 PM, Matthew Johnson <matthew at anandabits.com> wrote:
>
>
>> My brief opinion about this:
>>
>> - Doing something along this lines someday could be interesting.
>> - This is a pure syntactic extension.
>> - We have lots of other problems to solve (e.g. making the existing core feature set great), and limited bandwidth.
>> - I’d recommend deferring work on this until after Swift 3 is winding down.
>>
>
> That's pretty much how I feel as well. It's not a bad idea but there are more important things to focus on right now with a lot bigger payoffs.
>
> Chris, do you think this could be implemented as a macro in a hypothetical post-3.0 version of Swift?
It totally depends on the design and scope of that macro system, which is completely up for debate (when it comes time to discuss it).
-Chris
More information about the swift-evolution
mailing list