News for hackers. Stuff that matters.
Re:Elixir v1.20 released: now a gradually typed language by shevy-java on Wednesday June 03, 2026 @04:22PM (#48389446)
> writing Elixir is like writing Erlang

I wrote both Elixir and Erlang code. Erlang is just useless to me as a programming language; it has many great ideas though. I love the idea of being able to think in terms of immortal, re-usable, safe objects (Erlang does not call these objects, but to me this is OOP by Alan Kay's definition. I don't use e. g. the java definition for OOP.)

Elixir built on that and made Erlang code optional, meaning people could write more pleasent code. And here it succeeded. I am not sure why Elixir succumbed to type madness now, but the comment that "writing Elixir is like writing Erlang", is just simply not true.

Elixir is significantly better than Erlang with regard to writing code. José Valim got inspiration for Elixir from ruby, to some extent.

Re:Elixir v1.20 released: now a gradually typed language by asib on Wednesday June 03, 2026 @04:28PM (#48389525)
You're taking my comment way too literally. I'm basically just making a syntax comparison. Obviously Rust is not at all like Gleam in many ways either. It's just statically typed and has a similar syntax.
Re:Elixir v1.20 released: now a gradually typed language by senderista on Wednesday June 03, 2026 @04:31PM (#48389575)
I agree that actor languages are the purest form of OOP as Alan Kay has expressed it. And unlike Smalltalk, Erlang just accepts that some things are naturally functions, not messages.
Re:Elixir v1.20 released: now a gradually typed language by klibertp on Wednesday June 03, 2026 @05:14PM (#48390178)
Smalltalk has no problem at all with accepting that some things are naturally functions: it has always had blocks! The call operator is `value`, not `()`, but it's the same "apply a piece of code to some values" operation.
Re:Elixir v1.20 released: now a gradually typed language by Rendello on Wednesday June 03, 2026 @04:51PM (#48389858)
Erlang's Joe Armstrong and Alan Kay did a talk/interview together:

https://www.youtube.com/watch?v=fhOHn9TClXY

Re:Elixir v1.20 released: now a gradually typed language by ken-kost on Friday June 05, 2026 @07:37AM (#48411038)
a great rabbit hole to fall into; thank you!
Re:Elixir v1.20 released: now a gradually typed language by satvikpendem on Wednesday June 03, 2026 @04:32PM (#48389590)
Why do you find Erlang useless, you just don't like the syntax?