Why Nostr? What is Njump?
2024-02-02 15:31:48
in reply to

gram on Nostr: npub1e2p79…raqmc Now, in Elixir there is no methods or other ways to modify a value ...



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
Author Public Key
npub1h65r48d890s5mu6awnsl27tuvnjnuzgw7f8whme5svc3kgjqzvxsgc9s6j