[swift-evolution] Disallowing unreachable code
clattner at nondot.org
Tue Mar 28 23:48:04 CDT 2017
> On Mar 28, 2017, at 9:40 PM, Peter Dillinger <Peter.Dillinger at synopsys.com> wrote:
>> Agreed, we have the right design here. The go community has shown the result of taking
>> a hard line on this, and it really hurts refactoring and other experimental “pound out some
>> code” prototyping use cases. We use warnings for things that “should be cleaned up before
>> code is committed”, but which is not itself a fatal issue.
> Missing 'try' is a fatal issue?
That could be argued I suppose, I was referring to unreachable code, unused variables, variables that are never mutated, etc.
More information about the swift-evolution