4 ms·
i think it's nice to see some javascript design patterns!
by novaleaf 14y ago
i think it's nice to see some javascript design patterns!
- franze 14y agoi think design patterns are either A) a lack of necessary abstraction - or - B) a sign of unnecessary complexity
- lmm 14y agoThis. I remember reading a definition of a design pattern as "a structured way of working around a language deficiency".
- mattgreenrocks 14y agoPowerful languages don't force you to decouple your code. Disciplined use of patterns can help. But all our minds are warped from thinking web programming has to be different somehow from the desktop programming of old, and that concepts like SRP, LoD, and coupling don't matter.
- novaleaf 14y agoto me, design patterns are how a team designs on the general way of doing a certain activity, and avoid doing it wrong. maybe unneeded if you are solo, and I agree that "you should know why the best practice is best" but I strongly feel these are very helpful not only for teams, but for learning.