Re:An introduction to the JavaScript Module Pattern
by ronaldj on Friday April 13, 2012 @11:55PM
(#3839840)
The syntax is ugly. They should've made it a little less verbose.
Re:An introduction to the JavaScript Module Pattern
by Cushman on Saturday April 14, 2012 @01:31AM
(#3840019)
I'm sure CoffeeScript will adopt a much more elegant syntax for the feature :)
Re:An introduction to the JavaScript Module Pattern
by epidemian on Saturday April 14, 2012 @05:51PM
(#3842087)
That might be a quite distant future. See:
"Unsupported features" at https://github.com/jashkenas/coffee-script/wiki/FAQ
https://github.com/jashkenas/coffee-script/issues/451
object.defineProperty
allows specification of getter, setter, and writable flag (among others).