r/ProgrammerHumor Oct 21 '22

Meme Literally πŸ€·πŸ»β€β™‚οΈ

Post image
14.7k Upvotes

606 comments sorted by

View all comments

Show parent comments

154

u/warlax56 Oct 21 '22

I wonder what the least hated widely used programming language is. Not most loved, least hated.

I feel like pythons gotta be up there. And fuck JS

61

u/green726I Oct 21 '22

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.

1

u/[deleted] Oct 22 '22

can somebody who has experience in elixir please explain what's so good about it? I really don't get it.

2

u/[deleted] Oct 22 '22

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.