Why, for example, maps but array?

Michael P. empro2@REDACTED
Sun Aug 15 00:27:34 CEST 2021


When writing Erlang, my brain always produces:
array, filename, list, map, ..., but not:
lists, maps, proplists, sets, ....

I cannot imagine that anyone applies the
general concept of 'module deals with lists'
to writing a concrete line of source code.

To me `+` is 'addition', not 'additions'.

There is even orddict but ordsets ...

... that corresponds to dict but sets.

The decision seems to depend on author
and some tossing of coins.

Can there be learned anything from that?


~Michael

--

The story of the Ministry of funny Operators:

:=    new walrus
;=    winking walrus
?:=   confused walrus
:,=   weeping walrus
X=    extinct walrus








More information about the erlang-questions mailing list