DEV Community


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

levimichael profile image
Levi Whalen

I think for someone like me who comes from the front end to the back end, the idea of classes felt strange to me. Why am I defining something that is getting passed to me from somewhere else? I think it makes more sense when you think about using JavaScript end to end. Defining a class in the api to be used from back to front really helps you understand why you’d use it. Throw in typescript and things get even more fun.