Nov 16 meeting notes

David Bruant bruant.d at gmail.com
Thu Nov 17 08:33:24 PST 2011


Le 17/11/2011 02:40, Mikeal Rogers a écrit :
> On Nov 16, 2011, at November 16, 20115:19 PM, Waldemar Horwat wrote:
>> * Confusion about map.  Particularly for people who work on (geographic) maps.
> This is surprising. I might expect confusion with [].map() but not with geographic maps.
I'm realising just now that in a project with a friend we've been
declaring a Map constructor [1]. Obviously, it is used with "new Map()" [2]

"Map" is very likely to be used in browser-based games and should
probably be avoided as a core language identifier. Obviously, if maps
and sets are part of a built-in module, there is no problem since the
user will have the freedom to choose the naming she wants for the module
elements.

David

[1] https://github.com/DavidBruant/Ludesik/blob/master/js/Map.js
[2] https://github.com/DavidBruant/Ludesik/blob/master/js/Ludesik.js#L7


More information about the es-discuss mailing list