3 ms·
First, I'd argue that none of that would be "beginner" things. Programmers always seem to forget what it is like to not know how to program. A beginner would n
by bphogan 12y ago
First, I'd argue that none of that would be "beginner" things.
Programmers always seem to forget what it is like to not know how to program. A beginner would never use something like that.
Second, when you bring class-oriented Java-style constructs to JavaScript, it looks ugly because it's not what JavaScript is about. JavaScript is different. It's got a completely different way to do OOP, which you have to learn.
I'll agree that JS has weirdness. But a lot of the things we think are "wierd" are things that seem strange because we've programmed in Java or something else.
Ask someone who started with JS and only learned JS. They don't find those things strange at all.