r/javascript • • Aug 11 '15

Netflix.com Adopts Universal JavaScript, Drops Java From Rendering Pipeline

http://www.infoq.com/news/2015/08/netflix-universal-javascript
482 Upvotes

115 comments sorted by

View all comments

Show parent comments

7

u/dsk Aug 11 '15 edited Aug 11 '15

Did they actually drop it or did they drop it from rendering HTML but kept the service APIs Java-based? Because if they did the former, that would be idiotic. The latter makes a ton of sense.

2

u/novagenesis Aug 11 '15

Can I ask why? Our APIs are all in node.js right now and they have scaled fantastically.

Is it just "it wasn't broken, we don't fix it"? I'm assuming whatever they changed was "not good enough".

7

u/jimbobhickville Aug 11 '15

Javascript is very limiting for writing backend services like APIs, even with everything available from NPM. You hit one blocking call, you're done. I generally dislike Java, but it makes a lot more sense for those things than Javascript does. It's not just an "it isn't broken", it's a better tool for the job.

3

u/way2know Aug 12 '15

You hit one blocking call, you're done.

Why would you hit a blocking call if you're writing proper async JavaScript code?

0

u/jimbobhickville Aug 20 '15

Apparently you've never worked on a codebase with other imperfect people.