r/javascript • • Dec 05 '16

Dear JavaScript

https://medium.com/@thejameskyle/dear-javascript-7e14ffcae36c
807 Upvotes

271 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Dec 08 '16 edited Dec 09 '16

I donno. It's just smth like npm i babel-core babel-preset-es2015.

Pretty straight forward; core/cli + preset/plugin & maybe a loader for your bundler of choice.

Seems reasonable since Babel 6 is more than just ES2015 after all.

1

u/jpflathead Dec 09 '16 edited Dec 09 '16

I donno. It's just smth like npm i babel-core babel-preset-es2015. Pretty straight forward; core/cli + preset/plugin & maybe a loader for your bundler of choice. Seems reasonable since Babel 6 is more than just ES2015 after all.

Yes, that's clearly the argument from it's just not that complex for those of us who know what we are doing crowd.

And it gives zero fucks about n00bs suffering from javascript fatigue.

That's what the whole thing is about.

I'll go one step further. I want to write in ES6 and never fucking install either that piece of shit npm or that piece of shit node on my computer.

I realize I need to.

But the simple desire of wanting to write in ES6 shouldn't require that. Ever.

But given that I do, how about a most people use this setting and a full install setting?

Instead even now, it's for each piece of shit you are forced to use, come back here to this website to learn of the new and proper way to install the additional crapola you need to get babel to work with your favorite piece of shit inflicted on you by the other asswipes in the javascript fatigue is a good thing camp.

2

u/[deleted] Dec 09 '16 edited Dec 09 '16

But the simple desire of wanting to write in ES6 shouldn't require that. Ever.

Over time ES2015 support will increase and things will get easier. Bleeding edge language features + wide support means smth like transpiling. For now, if you want, stick to ES3 or ES5 then that's doable without it.

1

u/jpflathead Dec 09 '16

Nevertheless, this isn't year zero of programming or year zero of personal computing or year zero of plugins.

Installation of the Babel Transpiler still should not require:

  • npm

  • node

or have a zillion other additional little plugins to install every other little thing needed.

Babel 6 probably had the best of intentions when they broke things apart, but concern for noobs, beginners, and intermediate developers was not any of their evident priorities.

2

u/j_win Dec 09 '16

Maybe it's worth conceding that bleeding edge language features and transpiling aren't "noob" appropriate waters to be wading into.

1

u/jpflathead Dec 09 '16

Maybe it's worth conceding that bleeding edge language features and transpiling aren't "noob" appropriate waters to be wading into.

Sorry that's not good enough.

Here's a free 30 day javascript course that starts off by assuming es6, because that's where the language is going:

https://javascript30.com/

n00b doesn't mean never saw a do loop before, noob means new to the javascript toxic waste dump.

installing a transpiler should be a one line thing. period.

→ More replies (3)

2

u/acemarke Dec 09 '16

So should installation of, say, Ant, not require installation of the JRE or JDK as well? You gotta have a runtime available in order to run a program written in a language like Javascript, or Java, or Python, or C#, or...

→ More replies (1)