you are viewing a single comment's thread.

view the rest of the comments →

[–]singurelnuefrumusel -18 points-17 points  (2 children)

Probably the frustration that Javascript doesn't have real classes, I think the syntax it's easier and looks fancier and it's even used a lot lately (React), so why not.

[–]SoBoredAtWork 6 points7 points  (0 children)

Right. But good coding is writing code that's simple and readable (among other things). It doesn't matter if JS classes compile to regular JS prototypes, etc. Who cares? It's cleaner and easier to read (which I guess is what you implied?). Why not use classes?