Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
frobozz
· 9y ago · 0 comments
I see. When I see "immutable", I think of Prolog and Erlang (e.g. once X is 6, X can't be matched to 5 in the same scope) rather than languages that simply prefer byval over byref.
Comments
[–]
joncampbelldev
9y ago
well clojure does pass by reference, but the reference is to something that cannot be changed (i.e. a persistent data structure)
[–]
kqr
9y ago
Unification and assignment are very different concepts, though, with only fleeting similarity in some cases.
[–]
lightbyte
9y ago
Mildly off-topic: automatically shadowing bindings is one of my favorite changes elixir made to erlang