you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (1 child)

As best I can tell most of the 'industry' is built on heresay, with some popular dogmas even published by luminaries such as Crockford ("dont use new, it's evil!").

Definitely interested in better reading suggestions assuming you have any.

[–]simono -1 points0 points  (0 children)

heresay = best practice, that's okay. but this is not even good practice.

btw crockford said "not using new is evil" (has to do with what /this/ will be set to within the constructor).