Allen Wirfs-Brock wrote:
We're stuck with numbers, strings, and booleans and their corresponding 
wrappers. We don't need more special cases at that level.

I should write an apologator (http://www-archive.mozilla.org/apology.html) for inflicting primitives as "non-objects" in those ten days in May. Agree they are an anti-pattern at this point, not to be imitated by symbol/Symbol (and I thought TC39 agreed on this, and no strawman or proposal had both).

For symbols you don't inherently have to have two different representations.

Not only do you, or we, not face _a priori_ arguments for symbol and Symbol, users do not want.

Yes, it's drawing a line and saying no added special case primitive types and no new wrapper objects. Starting with ES6 all new abstractions can be conceptualized as "objects".
Agreed. Not to dogpile on, but just to apologize for primitives and say that they are the exception that proves the rule, not the pattern for novelties. See also int64, bignum, etc.

/be

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to