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

25

u/freebit Aug 11 '15

I think the biggest news here is the dropping of Java in a company that was plum full of Java developers.

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".

12

u/stormcrowsx Aug 11 '15

I would think the "it wasn't broken, don't fix it" would apply here.

The list of issues I can think of with moving it all to Javascript: You'd have to retrain all the Java devs to Javascript, you'd move a massive codebase to a language without static type checking (done wrong this is a disaster waiting to happen), and performance wise Javascript isn't going to beat Java by any significant numbers.

None of the cons I list above affect the rendering/frontend side because most Java devs on the front know javascript, rendering HTML in Java is not static type checked typically, and its not crazy fast.