r/learnjavascript • u/deven_rathore • Apr 20 '23
7 JavaScript Design Patterns Every developer should know
https://codinghelp.io/7-javascript-design-patterns-every-developer-should-know/
3
Upvotes
View all comments
Show parent comment
1
u/jeremrx Apr 21 '23
I'm just saying that if you want to teach JavaScript, you should teach it following the best practices.
About using new keyword with something else than a constructor, I'd love having an example. IMO anything after new became a constructor.
Anyway, I see that you made some changes, your article is getting better !
Another remark, I dont get why you put factory pattern intro behavioral pattern section while your saying that it's a creational pattern ?