[swift-evolution] Proposal: An assignment operator := that ensures nil before assignment.
Stephen Celis
stephen.celis at gmail.com
Sat Feb 27 10:30:55 CST 2016
> On Feb 27, 2016, at 11:28 AM, Amir Michail via swift-evolution <swift-evolution at swift.org> wrote:
>
> It’s a convenience feature that saves lots of finger typing.
>
> Which would you rather have:
>
> precondition( x == nil )
> x = 3
>
> OR
>
> x: = 3
>
> ?
A bunch of us have tried to point out that toy examples like these are not helpful enough.
You're not addressing the actual content and questions of any of your replies, Amir. Would you please take the time and effort to do so?
--
Stephen
More information about the swift-evolution
mailing list