mattdesl/module-best-practices
View on GitHub ↗ ★ 1,541 JavaScript
:books: some best practices for JS modules
4 mentions on Hacker News by 2 people: 3 stories, 1 comment · first 2014-10-15 · latest 2020-05-31
20082026
-
▲ 2
Some best practices for JavaScript modulesstory by shekhardesigner · 2020-05-31 · 0 comments
-
▲ 2
Npm Modules: Best Practicesstory by mattdesl · 2015-02-16 · 0 comments
-
…are the problem -- the problem is with the "new" keyword. I tend to use constructors like this: https://github.com/mattdesl/module-best-practices/blob/maste... Which leads to clear debugging (named constructors and their prototypes showing…
comment by mattdesl · 2014-11-06 · in Stop Using Constructors in JS (2012) -
▲ 2
JavaScript modules: best practicesstory by mattdesl · 2014-10-15 · 0 comments