[swift-evolution] Proposal: Add implicit/default else-behaviour for the guard statement
Kevin Ballard
kevin at sb.org
Thu Dec 17 02:35:22 CST 2015
On Wed, Dec 16, 2015, at 04:30 PM, Erica Sadun via swift-evolution wrote:
> Count me in as a "no". Despite the redundancy, actually spelling out
> how the else clause leaves scope is valuable to reading the code.
Agreed. Count me as a "no" as well. `else { return }` is not problematic
enough to justify the penalty to reading comprehension.
-Kevin Ballard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151217/d9a1f241/attachment.html>
More information about the swift-evolution
mailing list