Re:Why I Love Go
by aatd86 on Tuesday September 13, 2022 @03:56AM
(#32821689)
I really really like Go as well.
It fits my mental model I guess.
Overall, I find it keeps things simple.
One tell-tale sign was when I implemented Concurrent Hash-Array Mapped tries (basically a lock-free hashmap) as a learning exercise:
The code really looked like the pseudocode algorithm (albeit a bit different because of the lack of sumtypes).
I also like the error handling although multiple return values often preclude us from chaining calls.
It forces to deal with error values a bit too eagerly at times but one get used to it.
And the language, tooling, etc, keeps improving steadily without breaking old code. Very good engineering from the implementers.
The code really looked like the pseudocode algorithm (albeit a bit different because of the lack of sumtypes).
I also like the error handling although multiple return values often preclude us from chaining calls. It forces to deal with error values a bit too eagerly at times but one get used to it.
And the language, tooling, etc, keeps improving steadily without breaking old code. Very good engineering from the implementers.