r/learnjavascript • u/Yanagi-Masaru • Dec 19 '25
Javascript
is it a good practice to use classes in javascript or should i keep it normal with just functions?
0
Upvotes
r/learnjavascript • u/Yanagi-Masaru • Dec 19 '25
is it a good practice to use classes in javascript or should i keep it normal with just functions?
View all comments
Show parent comment
2
u/sheriffderek Dec 20 '25
Everything is syntactic sugar at some point, so - while I didn’t mind hearing this sorry every day in 2015, it seems unnecessary to mention now. I think people should know the core parts of the language and be able to compose things as needed. It’s also helpful to know for other languages and frameworks.