Speaking of Lisp...
cowan at ccil.org
Fri Jan 5 22:44:05 PST 2007
Brendan Eich scripsit:
> Suppose ES4 adds a Hash or Dict class. Would there be demand for
> initialiser syntax, because a common use-case is a constant or pre-
> filled (whether mutated later or not) mapping?
That could be avoided by having Dictionaries which wrap Objects (literal
or otherwise) and provide get, put, delete methods on the wrappee.
John Cowan cowan at ccil.org http://ccil.org/~cowan
The competent programmer is fully aware of the strictly limited size of his own
skull; therefore he approaches the programming task in full humility, and among
other things he avoids clever tricks like the plague. --Edsger Dijkstra
More information about the Es4-discuss