top | item 10967888

(no title)

lectrick | 10 years ago

> I also like the immutable variables aspect.

Elixir has the same immutable variables. I don't know why this is such a misconception. Erlang conflates rebinding and reassignment, Elixir does not, and the tradeoffs seem to (overall) be better in Elixir's case. Here, read the language creators' explanation as to why that is, it's the best:

http://blog.plataformatec.com.br/2016/01/comparing-elixir-an...

Very succinct and (hopefully) puts this misconception to bed.

discuss

order

No comments yet.