if it is unreadable, in Go, probably the most readable language used today, i would question the aforementioned experience.
if it is unreadable, in Go, probably the most readable language used today, i would question the aforementioned experience.
Heck, Go went out of it's way to "subvert expectations" more than the last season of Game of Thrones.
99% of decent C-ish languages either do "String thing" or "thing: String", but Go is so fancy and quirky, it does "thing String" for no freaking reason. Don't get me started on the nightmare that is map types.
I find that exception-based code is much harder to read. The happy path is clearer, but exceptional code paths are often completely obscured. It's harder to reason about what state the program is in when the exception is handled.
And the alternatives are not exceptions, of course, but ADTs.