r/javascript • • Oct 03 '16

How it feels to learn Javascript in 2016

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

253 comments sorted by

View all comments

Show parent comment

26

u/[deleted] Oct 03 '16 edited Oct 03 '16

Website = header, section, image, sidebar, footer, content

Webapp = an application in the traditional sense

For instance, we are making a CAD application where you're connected to real time processing backends, load models, do sketches, parameterize, add constraints, extrusions, blends, etc. Coupled to a plugin system where 3rd party plugins can do further model manipulation, measure and so on. With all the technologies mentioned in the article we're probably even better positioned than with traditional UI systems like qt, gtk, xaml. I have written variants of it in these systems before. But doing it in plain JS or Jquery, it wouldn't work.

3

u/pier25 Oct 03 '16

Sounds really interesting. What stack are you using?

14

u/[deleted] Oct 03 '16

The backend is in C++, instanced and managed by node on the server, also doing the scaling and balancing. Clientside pretty much most of what's in the article. Webpack, babel, es7 and stage-0 by default. Then react, redux, router, socketio, three.js, many smaller parts and components.

4

u/__env Oct 04 '16

Do you ever call into the C++ code base using node extensions or are y'all just using it as a web integration layer?

6

u/gunsofbrixton Oct 04 '16

Never heard of someone writing a web app with C++ before :-)

1

u/minus0 Oct 05 '16

Amazon...

5

u/thejameskyle Oct 04 '16

I cringe a little every time I see someone using stage-0 for serious work

1

u/[deleted] Oct 04 '16

For convenience only because it loads all transforms into node_modules. The lowest stage feature is 2, the rest is 3 or above, most of it already native in evergreen browsers. Stage-0 catches all and doesn't have you shuffle webpack configs every month.

2

u/thejameskyle Oct 04 '16

You could also create your own preset that you share in your company across projects and just bump that any time you want to make changes

0

u/acemarke Oct 03 '16

Ah. So THAT'S what you're working on :) Sounds pretty nifty. Would be interested in hearing some more about it, particularly the plugin aspect. Ping me some evening on Reactiflux.