9 ms·
You can't program the client in Java.
by whiterabbit 15y ago
You can't program the client in Java.
- pixeloution 15y agoAnd how is that relevant? I've heard the argument "Your backend developers can work on the front end too" -- but its a tired argument. Any developer who can't already do both has no place working for a company producing web-based software.
- OliverSteenbuck 15y agoFor example, you don't have to write validating logic for inputs twice. That somebody can do both things should, in my opinion not mean that he has do both things.
- VMG 15y agoYou can use the same code at the front end and at the back end.
- prodigal_erik 15y agoThere's a huge army of teams who aren't competent to do both, judging by the number of sites that fail completely if the client isn't trusting and running javascript. Node.js seems like a good solution for unobtrusive enhancement, making reliable semantic resources that may still optimize out many server round trips with mobile code.
- whiterabbit 15y agoIdeally, would you write your web application using one language, or ten? And that is how it's relevant. Any developer who can't grasp this concept has no place working for a company producing web-based software.
- sofuture 15y agoI would choose to write it in however many languages fit the various pieces best. To choose otherwise would be ill-advised.
- whiterabbit 15y agoBy "however many languages fit the various pieces best," did you mean the most or the fewest?
- sofuture 15y agoI mean I wouldn't make technical decisions dogmatically.
- whiterabbit 15y agoI think everyone here will back you up on that, but don't infer that zinxq is advocating choice by technical dogma. I read their post as simply asking for an explanation for node.js's accelerating popularity; of course there are many factors, but its ability to reduce lexical context switching is obviously a major component. To argue otherwise would be ill-advised.
- barnaby 15y agoIn a perfect world you would be correct. But answer me this: How many Java backend engineers know how to unit test javascript, how to make modular templates (e.g. writing their own tags, or nesting/tiling their JSP's), how to systematically minify their code in production and use CDN's ... or even how to use any design patterns in Javascript?
- ianterrell 15y agoSure you can! http://code.google.com/webtoolkit/ http://code.google.com/webtoolkit/ (But who wants to is a separate question.)
- whiterabbit 15y agoI stand corrected.