r/javascript • • Oct 06 '15

Why ES6 Has Classes

https://github.com/runvnc/whyes6hasclasses
3 Upvotes

30 comments sorted by

View all comments

Show parent comments

0

u/x-skeww Oct 08 '15

"Sarcastic" straw man:

"ES6 has classes because Java programmers wanted classes."

Sincere opinion:

"[...] the constant pushes to make Javascript more comfortable for Java programmers makes no sense."

Looks perfectly aligned to me.

1

u/dwighthouse Oct 08 '15

So, yes, I generally try to be very clear and specific, because getting the point across is already hard enough as it is.

I love the Power Glove. It's so bad. No, seriously, it fucking sucks.

Seems inconsistent to me. ;)

1

u/x-skeww Oct 08 '15

That was referential humor. Not everyone will get it and that's totally okay. It's the cheapest form of humor. Not only is it lazy, it also excludes part of the demographic.

Anyhow, my point still stands. Your "straw man argument" does match your actual opinion. You fluffed it up with a dismissive line, but it is indeed pretty much what you actually think.

No idea why you pretended that this wasn't the case. There was no point in doing that.

1

u/dwighthouse Oct 08 '15

If you start your comment off with "You think...", you're probably wrong or at least out of proportion.

To be as literal and as to-the-point as humanly possible, as you seem to require...

The historic desires of Java programmers and those wishing to coddle them has had an inappropriate influence on Javascript throughout its history. I believe this to be the SOURCE of the issue, the originating factors that caused the formation of my opinion. However, it is not the REASON I oppose classes in Javascript. I oppose classes PRIMARILY because they encourage classical inheritance, the frequently cited feature for which classes in Javascript are 'needed.' I do not, in fact, care whether a particular idea is from or not from Java. I only care about the merits of the idea, and what the consequences (both intended and unintended) will be of such an idea being implemented or widely used.

(And by Java programmers, I don't literally mean Java exclusively, but the large list of languages who either require or heavily push classes and classical inheritance.)

The definition of a Strawman Argument does not necessitate that I advance a false premise, though it often does, it only necessitates that I advance a MISREPRESENTATIVE argument. It can be rooted in fact, but blown out of proportion, which is exactly what I have done here.

Do you understand?

1

u/x-skeww Oct 08 '15

That's all fine and dandy, but your sincere opinion wasn't any different.

You do sincerely believe that classes were added to make JavaScript more comfortable for Java programmers. That's exactly what you said.

"[...] the constant pushes to make Javascript more comfortable for Java programmers makes no sense."

Or are you a compulsive liar perhaps?

However, it is not the REASON I oppose classes in Javascript.

I like how you didn't follow up with any actual reasons. You're a work of art, really. :)