Hacker News new | ask | show | jobs
by wooque 484 days ago
Why did you move away from go? I don't use it, but seems like productive language, being simple, fast to compile and performant.
3 comments

You can make really shitty code in any language, and the go community’s patterns around essentially brute forcing things (or code generation when that fails, which is horrible. Time to learn another custom DSL just to have an abstraction) rather than have good abstractions built into the language… it becomes painful if you’ve worked in a language with a better systems.

Pointers and null values are inescapable in go, and people treat them worse than they do in C. Generics are too limited (I can’t define a scala flatmap like function) And I can’t make data immutable or control access in any fine grained way in go. Compile time in my go monorepo is minutes now. Someone added a bunch of go lint rules.

So go has runtime failures due to null pointers. When dealing with a bunch of json and dynamic data, I don't need to deal with null pointers in 2025.
> being simple

Being simple is not a good thing. A simple language means that the programs become complex and hence complicated. The advantage is that it's easy to get up to speed and to write greenfield code though.