TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why I’m staying with Node

48 pointsby webistaalmost 11 years ago

11 comments

eknkcalmost 11 years ago
So?<p>I don&#x27;t think TJ wrote his post just for the sake of complaining or comparing Node with Go. He had a decision, and had to tell the community he was leaving because, you know, a lot of people uses his modules. I rely on a couple of his modules and I liked that he took some time to explain why he&#x27;ll not be working on them anymore.<p>This post is no more interesting than blogging &quot;I&#x27;ll keep drinking my morning coffee.. Just as always.&quot;
评论 #7993263 未加载
评论 #7991952 未加载
评论 #7991626 未加载
Mithaldualmost 11 years ago
&gt; Hiring for Go — I wouldn’t even know where to start.<p>Ridiculously simple: Set out to hire a good programmer (as opposed to &quot;a Go programmer&quot;), and make it clear in the job description that they&#x27;re expected to spend the first 6 months learning Go on the job.<p>You end up demonstrating to employees that you&#x27;re willing to give them something useful, gain loyalty; AND end up with someone you can be confident is able to learn whatever else your company might need in the future, and writes better code by way of having a focus on programming knowledge, not language knowledge.
评论 #7991585 未加载
评论 #7991592 未加载
评论 #7991584 未加载
评论 #7992975 未加载
评论 #7992977 未加载
bryanlarsenalmost 11 years ago
Node is not going anywhere. It may not be cool anymore, but like the old cool kids (Rails, Java, Perl), it has achieved critical mass, and still has some killer features.<p>Node makes SOA (service oriented architecture) a lot easier. SOA is what all the cool kids are moving to, and is one of the reasons why it&#x27;s so easy for big companies with lots of legacy code to switch to Go. Once your code is appropriately partitioned into services, it&#x27;s easy to write a single service in Go, and go is a nice language for writing services.<p>That being said, Node is particularly well suited for <i>consuming</i> services. You&#x27;ll necessarily have lots of client code written to consume and use these services from your webapp. So whenever you write a batch job or notification system or anything else that is primarily server side consumption of services or glue between services, node.js is a natural fit.<p>The other natural advantage of Node is that your business logic can run on both the server and the client. Your standard client-side web app (angular, backbone, ember etc.) has the bulk of the business logic in the client-side models. On the server side, the corresponding models are mostly just shims to the database, but they will also contain some business logic. If your code is written in Node.js, you just instantiate the client side model to be access the business logic.<p>The other killer feature for node.js has already been mentioned: combining both server and client side rendering with <a href="https://github.com/rendrjs/rendr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rendrjs&#x2F;rendr</a> or <a href="https://github.com/wvl/highbrow" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wvl&#x2F;highbrow</a>.
评论 #7991974 未加载
评论 #7991735 未加载
aikahalmost 11 years ago
I dont find this blogpost very interesting. The point of TJ&#x27;s post was that concurrency in Nodejs was hard compared to Go,so was error management.It&#x27;s not about one using Go or NodeJS,more about the fact that it is harder to build concurrent servers that dont crash on error in NodeJS than in Go.<p>Furthermore I personally dont rely on anything to OP wrote, so wether he stays or leaves nodejs doesnt matter.
goblin89almost 11 years ago
&gt; With Node you can literally share your code between the front and back of a system.<p>I think sharing code is dangerous as it tightens component coupling and makes architecture less flexible and more complex.<p>An average web project nowadays seems to be a back with many fronts: end-user website, admin interface, iOS app, Android app, Windows app… Making all fronts equal in their separation IMO keeps the architecture more predictable and easier to understand. Like DRY but with design decisions instead of lines of code.<p>Also, I don&#x27;t see how you can be flexible without making API the only point of contact for your back(s). That way you don&#x27;t lock yourself in and can rewrite any component with another framework or language, once requirements change sufficiently. I imagine it&#x27;s much harder to do if you have everything in one Node project.
评论 #7992010 未加载
_random_almost 11 years ago
&quot;With Node you can literally share your code between the front and back of a system.&quot;<p>Having to deal with a poorly-designed legacy weakly-typed scripting language not just on client (where you have no choice) but on server as well? Why be masochistic?
评论 #7991675 未加载
elibenalmost 11 years ago
&gt; We still have a rough future ahead of us. But I bet on JavaScript a long time ago, and alas, like English — it’s everywhere.<p>The &quot;alas&quot; in this quote is sad. Sad to be using tools you hate.
评论 #7991710 未加载
Artemis2almost 11 years ago
Is there really any practical examples of sharing code between back-end and front-end? I only see really specific use-cases, such as sharing the logic of a game between the client and the server, since most of the time the back-end <i>serves</i> the content and the front-end <i>displays</i> it.
评论 #7991662 未加载
评论 #7992635 未加载
评论 #7991577 未加载
评论 #7991878 未加载
dlsymalmost 11 years ago
&quot;And for that matter, I guess that makes Java, German.&quot;<p>Well, now I feel offended.
评论 #7991582 未加载
human_erroralmost 11 years ago
&gt; Hiring for Go — I wouldn’t even know where to start<p>Let&#x27;s go with metaphors. Programming languages and driving a car are similar things. When you change your car from Toyota to Audi, you don&#x27;t learn everything from scratch. You just spend sometime to get used to the car (wheeling, brakes etc) and then you&#x27;re all set. Programming languages are similar. When you switch from language A to language B, you don&#x27;t learn programming from scratch. So, when you want to hire someone to code in Go, you just hire a developer and tell them they&#x27;re going to code in Go. After getting used with Go, they would be all set.
评论 #7991631 未加载
TheMagicHorseyalmost 11 years ago
If you want to be DRY, a nicer option is clojurescript&#x2F;clojure.<p>Clojurescript + Om is a pretty nice combo for the browser.