1 min readFeb 28, 2020
I’m not saying that maps don’t have their place. But readability is only a positive with a map when coming from another language that uses maps.
Associative arrays are implemented as map classes in most OO languages, especially those modeled after C++. Javascript implements the associative arrays as a core component of the language.
Rather than attempting to make Javascript more readable by making it look like another language, I’d learn how to read Javascript.