r/programming • • Dec 15 '12

Why JavaScript Still Sucks

http://boronine.com/2012/12/14/Why-JavaScript-Still-Sucks/
10 Upvotes

212 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Dec 16 '12

[deleted]

1

u/x-skeww Dec 16 '12

using rails on open ocean

My point was that no one is doing that. The vast majority of JavaScript programmers do use some sort of classes.

The only relationship between your analogy and reality is that think that using classes is just as stupid as putting rails on the ocean.

0

u/[deleted] Dec 16 '12

[deleted]

-2

u/x-skeww Dec 16 '12

It's not my analogy. Pay attention.

Why should I care? Would that change anything? You are the only one who is aggressively defending it.

0

u/[deleted] Dec 16 '12

[deleted]

-1

u/x-skeww Dec 17 '12

we

You shouldn't talk about yourself in third person. It's a pretty weird thing to do.

Also, try being less insulting. Those insults add absolutely nothing. They only make you look like an angry teenager.

0

u/[deleted] Dec 17 '12

[deleted]

-1

u/x-skeww Dec 17 '12

You just can't help it, can you?

0

u/[deleted] Dec 17 '12

[deleted]

0

u/x-skeww Dec 17 '12

Your actions define who you are, not your thoughts.

If you choose to be a douche for whatever reason, you'll be a douche. That's all there is to it. It doesn't matter if you think you can justify your actions, because everyone can do that.

Well, you didn't actually choose anything. If your adrenaline levels were slightly lower you wouldn't be this aggressive. You wouldn't resort to insults and you wouldn't downvote whatever the other person says in pure anger.

→ More replies (0)

1

u/DrDichotomous Dec 17 '12

No, they don't. They might in your neck of the woods, but the vast majority of JS coders use jQuery and similar libraries for simple work, or even more rudimentary event-driven work without a framework (sadly).

You are correct in suggesting that the JS world is, in fact, moving on, as evidenced by many modern backbone-style frameworks providing "classes", and ES6 actually implementing them to some degree.

And again, just because you think "rails on water is stupid" doesn't mean it was my intent to call others stupid. Sorry that I insulted you.

1

u/x-skeww Dec 17 '12

No, they don't.

I meant of those who use some kind of inheritance. Prototypical inheritance is very rarely used. If it's used, it's usually hidden behind some utility functions which make it look like "classical" inheritance. Very few people muck about with prototype.

Do you know any MV* framework which makes you use prototypes?