Re:Javascript the right way
by Androsynth on Wednesday September 12, 2012 @03:25PM
(#4512585)
Not sure if anyone will ever see this...
It is not a traditional module I will agree. However I see it as a hybrid class/interface/module and in this role, it works very well and allows you a tremendous amount of flexibility due to the dynamicness of js.
It does leverage one of the language's great strengths, lexically-scoped first-class functions, but that doesn't make it a strength on its own.