4 ms·
elixir is npm for erl. the single example you need to know to snub it: x = 1 x = 2 thats valid elixir. you're better off using javascript or php at thi
by zapttt 7y ago
elixir is npm for erl.
the single example you need to know to snub it:
x = 1
x = 2
thats valid elixir. you're better off using javascript or php at this point
- hmmokidk 7y agothat's valid javascript (it's also very dangerous javascript)... and would be valid php if you sandwich it between a $ and a ; elixir is not npm for erlang, hex is more like npm.
- zapttt 6y agoelixir is mix. mix is hex. hence elixir is npm for erlang
- polmuz 7y agoAhh you seem to be on that phase...
- rantwasp 7y agonope. variable rebinding is not what makes and breaks elixir. elixir is awesome and has done more to popularize the good ideas behind erlang than a lot of other languages/tools.
- wtetzner 7y agox = 1 x = 2 Why is that a problem? It's shadowing, not mutation.