Hacker News new | ask | show | jobs
by capl 936 days ago
Good point regarding .NET! The .NET CLR / VM is clever in that way.

Regarding your experience with readability in Go, I have to agree in some way because the known (and controversial) explicit error handling, but what you may realize sooner or later is that handling both the happy path and erroneous path is actually a net positive. That's the difference between seeing `if err != nil {` as code pollution or actual logic. I've realized the latter.

1 comments

This older reply is pretty exhaustive. Go leaves critical readability structuring to devs (a bad idea).

https://news.ycombinator.com/item?id=38128698

Fair points