[swift-evolution] Method cascading (was Re: Request for Discussion: Setup closures)

Kenny Leung kenny_leung at pobox.com
Thu Dec 17 11:52:24 CST 2015


On Dec 16, 2015, at 1:30 PM, Tino Heth <2th at gmx.de> wrote:
> 
> Odd that right now there is another thread that wants something in Swift that is nearly the exact opposite of method cascading:
> Mandatory self… (I hope Mr. Lattner doesn't try to hard to please everyone on the list - that challenge would surely lead to schizophrenic disorder ;-)

I think this is a good complement to that change, which I’m for. Since you’re forced to put in self, you could replace it with

self.{
    blah
    blah
}

-Kenny



More information about the swift-evolution mailing list