supermethods ... Even worse, there is a serious hazard with the use of constructor functions. If you forget to use the
newprefix when calling a constructor function, then
thiswill not be bound to a new object ... There is no compile warning, and there is no runtime warning.'
This article discusses the advantages of the pseudoclassical pattern over the functional pattern. I argue that the pattern used by the ClosureLibrary paired with the Closure Compiler removes existing hazards while I also examine the hazards introduced by the functional pattern (as defined in The Good Parts)."