Comment on Elixir vs Go: what to learn in 2024
cbarrick@lemmy.world 1 year ago
Jobs? Probably Go.
But really what’s most important is learning portable skills, which amounts to learning about different approaches. In that case, I’d say learn both.
There are a lot of interesting ideas in both languages.
(I learned a lot of great ideas from Go, especially about concurrency. I think it’s great for writing the kind of frameworks where that matters. But in terms of “normal” business logic programming, I think it’s trash. It not ergonomic at all.)
khoi@slrpnk.net 1 year ago
What lang would be ergonomic you’d say?
cbarrick@lemmy.world 1 year ago
Python is ergonomic. It’s very expressive without the language feeling too magical.
If you are comfortable “programming with types” then Rust is a very ergonomic language. But it does take a while to get your brain thinking in Rust.
It’s also useful to have counter examples.
C is not ergonomic. You basically have to reimplement collections for different applications.
FunctionalOpossum@programming.dev 1 year ago
What’s your background? I’ve mainly used language with huge standard libraries and Go’s intentionally small standard library feels very unergonomic sometimes (I miss sets).
Elixir feels very ergonomic to me, but a lot of programmers struggle with the lack of typing.
khoi@slrpnk.net 1 year ago
I came from JavaScript NodeJS and Python.