On Apr 24, 2014, at 5:00 PM, Scott Ribe <scott_r...@elevated-dev.com> wrote: > What's wrong with the simple straightforward C way???
One improvement might be if there was a ?:= conditional assignment operator. Just as x += y; is the same as x = x + y; and likewise for other binary operators, you could have x ?:= y; be the same as x = x ?: y; It could be read aloud as "if 0 equals" or "if nil equals", as in "x if nil equals y". --Andy _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com