DEV Community

Cover image for How Learning Elixir Made Me a Better Programmer 🥃

How Learning Elixir Made Me a Better Programmer 🥃

Alec Brunelle on December 09, 2018

Want more great content like this? Sign up for my newsletter, visit: alec.coffee/signup After getting comfortable with a couple programming tech...
Collapse
 
revskill10 profile image
Truong Hoang Dung

I have to use Javascript though i hate its dynamic nature. I have no choice in browser.
On server-side, dynamic languages are bad, no matter what benefit it brings.
I'll prefer using statically-typed languages to a dynamic languages.

Collapse
 
richardpringle profile image
Richard Pringle

While I tend to agree, I really suggest giving Elixir a try. There are typed structs and pattern matching helps too. I really don't think the coding experience is the same as other dynamic languages (JS in particular).

The major benefit of a type-system in Elixir would be performance. There isn't much more you could do to improve the dev experience

Collapse
 
chrisvasqm profile image
Christian Vasquez

Maybe TypeScript may come in handy.

Collapse
 
revskill10 profile image
Truong Hoang Dung

Yes, if Typescript doesn't compile to Javascript. Why i have to use Typescript if it still compiles to Javascript ?

Collapse
 
sam_ferree profile image
Sam Ferree

Look up to see if some of your favorite typed languages are targeting web assembly. I heard the Rust and Go people are, and C# is getting Blazor, and has a few other projects like Ooui.

Collapse
 
exadra37 profile image
Paulo Renato • Edited

For me the best resources to learn Elixir and to do the shift from Object Oriented Programming to Functional Programming are:

Both resources are from PragDave that does an excellent job in introducing us to the Functional Programming paradigm and how to write Elixir in a very clean and decoupled way.

Collapse
 
maartz profile image
Maartz

In the first exemple it’s much more what we can call function clauses rather than pattern matching. Thanks for spreading Elixir love !
The ecosystem is getting bigger ! You’ve talked about Phoenix, there’s Ecto, Absinthe, Nerves Project, etc. Elixir FTW 🥰

Collapse
 
motss profile image
Rong Sen Ng

Give Rust a try. You will like it.

Collapse
 
rhymes profile image
rhymes

Nice argument for Elixir, thanks Alec!

Collapse
 
antonrich profile image
Anton

Hello coffee driven development : )

Would you like to try codewars for elixir challenges?
I tried hackerrank with Haskell, it's not as good as codewars. Maybe with Elixir it's different.

Collapse
 
smuschel profile image
smuschel

I really like the idea of having a programming book club. Also, thank you for sharing your experience

Collapse
 
qm3ster profile image
Mihail Malo

fallacy fallacy

Collapse
 
shmink profile image
Tom Nicklin

I saw the title and completely agree.