Re:a[low:high:max] in Golang – A Rare Slice Trick
by throwaway894345 on Sunday March 19, 2023 @06:48PM
(#35224528)
I fully agree with the enums thing—that’s by far my biggest gripe with the language. But even still, I can be a lot more productive in Go than I can in any other mainstream language, including languages that have sum types (Rust, OCaml, etc) which isn’t to say sum types make me less productive but rather that those languages have other productivity issues that outweigh the benefits afforded by sum types. Basically, Go gets a whole lot of little things right that most languages miss, but everyone fixates on “generics” and “sum types” which are, overall, quite small things IMHO.
[ Parent
| on HN ]
There are no comments on this comment yet.