Off-topic: What is the recommended style for naming modules? Capitalized and camel-cased? It’s nothing I couldn’t get used to, but it seems like the naming precedent would be JavaScript packages. Or is Reflect capitalized, because it is a built-in module?
I love how this module is a new home for many Object.* methods. Also looking forward to @math etc.: http://wiki.ecmascript.org/doku.php?id=harmony:modules_standard On Jan 27, 2012, at 13:26 , Tom Van Cutsem wrote: > 2012/1/23 Herby Vojčík <he...@mailbox.sk> > But it gets harder with getters and setters... maybe if there was an API for > simulating proper legacy foo[bar] and foo[bar]=baz, (Object.get, Object.set?) > generic [] could be dropped without much of a loss. > > We'll have Reflect.get and Reflect.set, see > <http://wiki.ecmascript.org/doku.php?id=harmony:reflect_api>. > (these are the methods referred to as Object.getProperty and > Object.setProperty that Allen referred to on the object model reformation > wiki page) > > Cheers, > Tom -- Dr. Axel Rauschmayer a...@rauschma.de home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss