[swift-evolution] [Proposal Draft] Flexible memberwise initialization

Thorsten Seitz tseitz42 at icloud.com
Thu Dec 24 05:46:57 CST 2015


> Am 22.12.2015 um 18:30 schrieb Matthew Johnson <matthew at anandabits.com>:
> 
> My proposal is specifically suggesting that we treat “initial value” as a default rather than an initialization that always happens.  IMO the current behavior is limiting and problematic in a number of ways.
> 
> If we make the change I am suggesting double initialization / assignment will not happen. 

Ah, ok! 

I'm a bit uneasy about overloading the initial-value-syntax with a new meaning, though.

-Thorsten 


More information about the swift-evolution mailing list