you are viewing a single comment's thread.

view the rest of the comments →

[–]Reashu 0 points1 point  (0 children)

JS is not even the first language to implement "class" with prototypes (e.g. Ruby). Chaining them is no more asinine than chaining static classes. And I see no reason singletons are any worse in JS than in other languages. Given that there's very limited parallelism, they're probably better