TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to persuade a traditional Java company to use Node.js

1 点作者 bodelecta大约 9 年前
I realise this is a very subjective topic but IMO node.js from a development point of view, is much faster to market for a traditional web app than a Java application.<p>There&#x27;s been many blogs and topics over the last few years espousing why it&#x27;s a more productive environment to work in. I&#x27;m sure Amazon and possibly Ebay 3 or so years ago officially blogged the benefits of using node.js for prototyping applications in the sense of agile development. I can&#x27;t remember exactly but I think Amazon wrote how they were able to reduce their development resource requirements to 10% of what was needed previously by Java developers (for a particular app they wrote), using the same developers after they were retrained.<p>I love the fact that I can write isomorphic applications and debug them both front and back end in the same environment. For many Java&#x2F;C# etc developers this loose typing and functional type programming is alien to them but IMO, developers once they understand the language semantics, should be able to cope with that easily. I&#x27;d like any opinions from others who&#x27;ve worked in the same legacy environment and moved to node.js to discuss the pro&#x27;s and cons.<p>For me, there are a few cons. Moving to a weakly&#x2F;loosely typed language. No precompilation. Functional&#x2F;callback design. An ever changing world of ECMA compliance. Lack of tooling. I can argue all day the opposite of those cons (e.g. typescript) but one of the issues I struggle to defend is the churn rate in any libraries you depend on. I wholly support express.js becoming the standardised web framework API in the node.js foundation, however there&#x27;s huge churn in the number of required libraries you may depend on and which inexperienced devs may add without researching their suitability or how stable they are.<p>NPM is great but those modules might be useless in 6 month, a year or later depending on how they&#x27;re supported.

2 条评论

cdnsteve大约 9 年前
When considering bringing in a new technology, start off small. Start tinkering on something with low risk, low profile. Heroku is a great place to put an app you&#x27;re working on, without having to also worry about the hosting stack side of things.<p>Often, getting people to think about new technology is about showing them what you can do with it, after actually building something useful they see value in.<p>It&#x27;s about winning people, not winning technology.
moondev大约 9 年前
you could always run node on the jvm <a href="http:&#x2F;&#x2F;nodyn.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;nodyn.io&#x2F;</a>