Javascript: Avoid this and new - further reading? [closed]
- by Thomas Deutsch
I do not want this to end in a sort of religious discussion, i want to collect some sources for further reading on this topic.
As shown here: Node.js Style and Structure Point 1: Avoid this and new
you can find a good example when it could be better to use closures instead of
a prototype, and to make every argument explicit.
Ok, i agree - could be nice, but i need to know more.
Can anyone recommend a good link?
Would this make my code 100% object-pattern-free ? (no factory-, repository-, module- pattern?)