News for hackers. Stuff that matters.
Re:Go 1.18 by orangecat on Tuesday March 15, 2022 @08:32PM (#30693786)
This is a perfect example of the fundamental and probably irreconcilable disconnect between Go advocates and detractors. To me, your "bad" example is much better: not only is it less code, it directly expresses the intent rather than making the reader infer it from the sequence of manual loops and ifs.

There are no comments on this comment yet.