Javascript classes are an abomination because they do not map to the underlying implementation of Javascript. Internally Javascript just has tables and closures, just like Lua. Lua did the right thing and just exposed its underlying implementation in a clean way. (Lua does have a little object-oriented crap which I removed in Luan.) Javascript's implementation of classes is just a horrible hack and should be avoided. In each language, one should stick to those features which reflect the underlying implementation. So in Java, one should actually stick to using classes because Java's implementation is fundamentally based on classes. C# took the idea of Java and screwed it up by adding features that don't belong in a class oriented language.
Modern scum have no integrity and in fact they hate integrity. A programming language with integrity has one clean paradigm that reflects the implementation of the language. If you are stuck using a language like Javascript that was designed by modern scum, just stick to the few features that reflect the underlying implementation and reject all the other features. This will keep your programs simple and understandable.
[–]GeorgeCarlin 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)
[–]TaseAFeminist4Jesus 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (4 children)
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (3 children)
[–]TaseAFeminist4Jesus 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (2 children)
[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]TaseAFeminist4Jesus 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)
[–]ID10T 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (6 children)
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (5 children)
[–]ID10T 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - (4 children)
[–]fschmidt[S] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - (3 children)
[–]ID10T 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (2 children)
[–]fschmidt[S] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - (1 child)
[–]ID10T 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - (0 children)