[swift-evolution] Request for Discussion: Setup closures

Anandabits matthew at anandabits.com
Fri Dec 4 15:45:12 CST 2015


> I would also be in favor of something more generally applicable rather than making initialization more special. 

Initialization is inherently special - it is the only opportunity to provide an value for immutable stored properties.  IMO that means an adequate solution *must* at least consider initialization in depth and must be able to facilitate initializing immutable stored properties (which method cascade would not be able to do).

Matthew


More information about the swift-evolution mailing list