4 ms·
Go is a great language with a great standard library. The big downside is, that you have to play compiler and write all the time boring algorithms yourself (bec
by thibran 7y ago
Go is a great language with a great standard library. The big downside is, that you have to play compiler and write all the time boring algorithms yourself (because go has no generics).
Want to filter a slice -> do it yourself
Want to map a function over a slice -> do it yourself
Want to pop out a value of a slice -> a[len(a)-1], a[:len(a)-1]
...
There are worse things in the world, still it's the reason why I don't use go any more.
More examples: https://github.com/golang/go/wiki/SliceTricks https://github.com/golang/go/wiki/SliceTricks
- loopz 7y agoThis is great, good choice! If you do need overly complex and convoluted ways, there's always java and Python. No need to pollute the simple and direct space. My personal headache usually go along these lines: Why did I continue pile complexity onto the same codebase for too long, and could I've made simpler architectual and design choices earlier? (Ideas starts popping in for next project => filed)