19
Elixir vs Go: what to learn in 2024
(slrpnk.net)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
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.)
What lang would be ergonomic you’d say?
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.
I came from JavaScript NodeJS and Python.
I’ve learnt Elixir and it seems like it’s packed with lots of features/patterns.