Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2014 (2)
20082026
  1. …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)