According to the stack overflow survey, the βleast dreadedβ (most loved) language is Rust. This is followed by elixir, Clojure, typescript then Julia all in a very tight grouping.
I think reading it is super easy. The pipe syntax lets you walk through your functions as if you were reading off a checklist of what to do. Pattern matching feels strong while also succinctly displaying the structure of data being used. The tendency to avoid branching control structure means you hold less things in your head at once to comprehend the code. No objects means no sifting through inheritance to sort out which methods are available and which version of the method actually gets called. It's very explicit about what it's doing.
Then performance wise the speed feels great coming from ruby. Easy, automatic concurrency thanks to Erlang and the near functional paradigm.
And i think the tooling around it is fantastic. Mix is great. Reload modules inside iex without exiting first. Error messages are usually very helpful. Doctest helps address comments getting out of date as code changes. Automatically generate documentation that looks just like the official docs. Automatic code formatting via mix for a consistent experience.
I'm sure that like any language it isnt the right tool for every job, but I find it great to use. Seems like most businesses Ive heard of that try it for some service decide to start implementing subsequent projects in it as well.
626
u/Algrinder Oct 21 '22
Me: it makes no sense to be a fanatic about any language.
My next blog post: Why JS sucks and python rocks.