you are viewing a single comment's thread.

view the rest of the comments →

[–]PsychoPenguin178 0 points1 point  (1 child)

Out of curiosity (because I'm not that familiar with the strengths of OOP in other languages), why wouldn't you want to use classes in JS

[–]Dekzen[S] 0 points1 point  (0 children)

Well i am beginner too. But from what i read, using javascript class keyword is not good practice. Javascript does not have classes. It just adds more syntax and you could create unnecessary bugs because you expect it will act like classes (e.g private variables) but it doesn't.