DEV Community


Discussion on: I Don't Use JavaScript Classes At All. Am I Missing Out on Something?

shadowtime2000 profile image

Honestly, I don't really see classes as having any use and kind of go against my principles that I try to use. I like having every data structure being pure or json serializable and classes just kind of mess that up with unnecessary logic with this and that (pun intended). I find it much simpler to just use pure functions to manipulate data structures.