DEV Community

Discussion on: Design Patterns In JavaScript

Collapse
 
arvindpdmn profile image
Arvind Padmanabhan

I would have thought ES6 classes is a better way to implement these design patterns. Only your example on HouseTemplate does this. Anyway, inspiring post. We'll create a similar article in detail on Devopedia. We do have an article on CSS design patterns: devopedia.org/css-design-patterns

Collapse
 
dewaldels profile image
Dewald Els

I personally prefer the functional nature of JavaScript. I do see value in using classes from time to time, but I really love the way functions work in JS. 😅