[erlang-questions] Maps single value access not implemented
Mon Feb 10 13:54:46 CET 2014
Loïc Hoguin <> writes:
> On 02/10/2014 01:10 PM, Sina Samavati wrote:
>> I feel much better with that. I guess something in *EEP 43* made Maps complex,
>> I mean, we don't really need all those capabilities for Maps as proposed in
>> _EEP 43_. For example (this is just a friendly feedback not a *complaint*),
>> I think the '=>' operator is enough for both adding a new key and updating an
>> existing key.
> The := operator is *very important*. It pretty much means "crash if my
> code is messed up". This is essential.
That's true from that perspective.
>From another perspective: add or update it, I don't want you to shout at me
"Hey, there's no such key", because it will or will not be used. That's it.
More information about the erlang-questions