On Sep 27, 2011, at 4:06 PM, Waldemar Horwat wrote: > Trying to understand Oliver's objections to the current class proposal.
Oliver objects, as do others, to "punning" (my word) declarative syntax to define object properties, and mixing static and dynamic influences. He specifically cited the location of public exportable-definitions in the constructor body, instead of in the class body. We then discussed how putting public x,y; for a class Point in the class body requires separate assignments in the constructor body. Without type annotations (guards) the public declaration is easy to leave out -- it seems optional or unnecessary. And in the case of const (public const K) there's no way to initialize with a constructor parameter or other per-construction state. Anyway, this was the counter-argument, heard before. Oliver, anything to add? /be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

