Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Go at Google: Language Design in the Service of Software Engineering. Parent comment
It's a purposeful restriction imposed by the Go compiler, but not by the Go language specification.
And I think the idea is to encourage explicitness, and force cases like these:
if cond { return ... } else { return ... }
if cond { return ... } return ...
There are no comments on this comment yet.
It's a purposeful restriction imposed by the Go compiler, but not by the Go language specification.
And I think the idea is to encourage explicitness, and force cases like these:
Into a simpler: Reasonable people can disagree over whether this is a Good Thing.