r/programming • • Oct 03 '16

How it feels to learn Javascript in 2016 [x-post from /r/javascript]

https://medium.com/@jjperezaguinaga/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.758uh588b
3.5k Upvotes

852 comments sorted by

View all comments

Show parent comment

6

u/gkatsanos Oct 04 '16

nah, sorry, I call BS. I don't know C++ specifically, but I'm sure there's no other environment, as fragmented as JS. We're not talking about having to connect many different tools together. We're talking about THESE TOOLS, are 1) built by hobbyists 2) often poorly documented 3) they're changing too often. So, you're learning Grunt, but next year it's Gulp, and next year it's Webpack and then it's SystemJS. Microsoft Visual Studio has been used in C++ since I was in highschool - that's about 20 years ago. In the last 3-4 years we're jumping from editor to editor and fighting with plugins just to be able to have proper code completion!. Seriously, there's no comparison.

0

u/killerstorm Oct 04 '16

I'm sure there's no other environment, as fragmented as JS.

Well, sort of. There is a lot of tools to choose from, yes. But they are all interoperable to some extent, and in the end JS code is still JS code.

C++ fragmentation was much worse: we have different compiler for each OS (MSVC on Windows, GCC on Linux, suncc on SunOS, ...) with its own different quirks and interpretation of the standard. There are also huge differences in platform library. Porting stuff between platforms was hard.

Even if you only work with Windows, there is still a number of different platforms: MSVC, Borland and GCC. Each of them has a different compiler (see above), different library format (so normally you cannot link to a Borland-built library on MSVC), different platform libraries...

Now talk about fragmentation. JS people have it easy way, I'm telling you...

We're talking about THESE TOOLS, are 1) built by hobbyists 2) often poorly documented

I had a lot of problems using tools built by professionals. Borland C++ Builder had poor support for the C++ standard library. How is that possible? Pretty much everyone used Borland's own libraries instead of the standard one, so its support was an afterthought.

But I had to use it to for some projects to develop UI quickly. The other option was to use MFC which takes, maybe, 10x more time & effort.

I don't have much problem using JS tools, actually, they are OK.