News for hackers. Stuff that matters.
Re:Why Elixir? A Rebuttal to Common Misconceptions by rendaw on Wednesday July 23, 2025 @01:13PM (#44661574)
I tried it for a job interview, and it was awful - because of no static typing. I spent most of my time tracking down dumb type errors, compounded by various language footguns (I can't remember exactly, but I think for example making a typo on a field name in a for loop condition is treated as "condition false" and so the for loop just doesn't do anything, no error).

It seems like the Elixir/Erlang community is aware of this, as is Ruby, but it's a rather large hole they have to dig themselves out of and I didn't feel particularly safe using the tools today.

I've heard a lot of good things about the Erlang runtime and I did really like Elixir's pipe operator, so it was unfortunate.

Re:Why Elixir? A Rebuttal to Common Misconceptions by kingofheroes on Wednesday July 23, 2025 @03:07PM (#44662795)
Pattern matching makes up for the lack of static typing to me. It provides nearly all the same benefits especially when used with guard clauses.
Re:Why Elixir? A Rebuttal to Common Misconceptions by recroad on Wednesday July 23, 2025 @11:59PM (#44666766)
You can also peek inside objects and check for types and values of nested properties. In other languages you’d need to create composite types or even duplicate or extend types. In Elixir, all that is for free. I see that as much more powerful than types.