4 ms·
>I would argue that Go's opinionated style is what makes it elegant I'd say Go is opinionatedly inelegant. It is minimal, I'll give you that, but has several n
by coldtea 7y ago
>I would argue that Go's opinionated style is what makes it elegant
I'd say Go is opinionatedly inelegant. It is minimal, I'll give you that, but has several non-orthogonal design decisions, smells, etc.
- tsavola 7y agoPlease elaborate.
- snarfy 7y agoThis article [1] explains why I'm not a fan. [1] - https://www.teamten.com/lawrence/writings/why-i-dont-like-go.html https://www.teamten.com/lawrence/writings/why-i-dont-like-go...
- dnautics 7y agoIf err != nil everywhere is definitely a code smell and poor language design.
- coldtea 7y agoNot compile-time checked repetitive error handling (if null != err), duality of panic and error codes, specially blessed constructs (maps, slices, etc being "generic"), lack of expressivity, specially typed map libs, interface{} type safety escape hatch, etc...