gram on Nostr: npub1e2p79…raqmc Now, in Elixir there is no methods or other ways to modify a value ...
npub1e2p79z2nl0xkd2n0qy52wwvej2y3j8ps28nl4utfsw0apsnc586seraqmc (npub1e2p…aqmc)
Now, in Elixir there is no methods or other ways to modify a value in place, unlike Python's append above. You can only create a new list. So, even when a and b point to the same value, Elixir guarantees that changing a never changes b.
Bonus fact: Erlang doesn't allow rebinding a variable. Elixir decided to remove this restriction for convenience.
2/2
Now, in Elixir there is no methods or other ways to modify a value in place, unlike Python's append above. You can only create a new list. So, even when a and b point to the same value, Elixir guarantees that changing a never changes b.
Bonus fact: Erlang doesn't allow rebinding a variable. Elixir decided to remove this restriction for convenience.
2/2