top | item 45607952

(no title)

mcdow | 4 months ago

Oh ok. Is it still worth learning without LiveView? E.g. in my case I’m much more proficient in Python. Is it worth the jump, over something like Django?

discuss

order

laszlokorte|4 months ago

Yes because Elixir is such a nice language.

In every language there are sharp edges or dirty corners that are just annoying once you hit them. JavaScript and Php are full of inconsistencies, Ruby and Python are nice and the surface but once you dive into meta programming, OOP and mutability complex code bases are just impossible to trust/reason about their correctness. Rust, C++, C#, F#, Java... I could go on.

In my opinion Elixir just hits the sweet spot of good design. After multiple years using it there comes nothing to my mind that I find ugly or annoying.

Sure there are other languages that are quiet nice on paper but often they lack the ecosystem to let you just build production ready stuff. The Elixir ecosystem is also not that large, but large enough for quickly building a web app or composing useful automation pipelines.

out_of_protocol|4 months ago

Definitely, Phoenix is way more streamlined than Django/Rails. Even if you jump to other language/framework, it'll teach a lot how to built stuff due to good defaults and project structure. Also simpler too. I remember spending hours trying to figure out how to use specific method and where is it coming from in Rails. In Elixir/Phoenix there's very few "import"s in use (single file you can inspect and modify), non hidden state. You see Foo.bar("some argument") and you know you don't need anything else to understand what it does. Rails is very magical in this sense, Django as well, a bit

zelphirkalt|4 months ago

Depends on how much you value the language you are using. Elixir can be quite a bit more elegant than Python.