> Am 15.08.2016 um 09:02 schrieb Justin Jia via swift-evolution 
> <swift-evolution@swift.org>:
> 
> foo.bar(x: x?)
Yes, those guards and ifs can be tedious, but it is clear what they are doing, 
and there is no doubt what code will be evaluated and what will be skipped.
If Swift had syntactic sugar that acts like optional chaining for parameters, I 
don't think that I would use it, because by moving the question mark far to the 
right, it can easily hide that something is conditional.

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to