3 ms·
Elixir is pure pleasure. Coming from a ruby background, I din't have huge difficulty in understanding the syntax, and unlike other functional languages like Clo
by shadykiller 9y ago
Elixir is pure pleasure. Coming from a ruby background, I din't have huge difficulty in understanding the syntax, and unlike other functional languages like Clojure, it's not an abrupt change from procedural paradigm. You can still assign variables in functions etc.
- tytytytytytytyt 9y agoYou can still 'assign variables in functions' in Clojure, afaik. Did you mean mutate existing variables?
- mischov 9y agoElixir should absolutely be an abrupt change from the procedural paradigm, and much closer conceptually to Clojure than Ruby. In Clojure you can still stick something in an atom or volatile and easily update it in place... doing that is a lot more involved in Elixir.
- findjashua 9y agoI'm assuming, you meant `reassign` (aka rebind) variables?