Hacker News new | ask | show | jobs
by david_a_r_kemp 5300 days ago
To be honest, node.js isn't the kind of place for a complete beginner - it changes fast and there's a lot of outdated information available (which doesn't say which version it was meant to work with).

Even as an experienced programmer, I'm still reticent to use node in any real projects, (mostly because I'd spend half my time updating it to work with the latest release).

Of course, it can be fun to hack on a fast moving platform, but it can be annoying too, when you spend your evening trying to get an environment set-up on an obscure platform rather than writing any useful code.

2 comments

Well, complete beginners probably aren't using much of the API, and the parts they would be using have been relatively stable for a while now. The node development team has done a pretty good job of indicating when apis will be deprecated or changed, and are even helping make it easy to find the places where code needs to be changed/updated (helpful if you're using a module that isn't being maintained).

That said, most of the most popular modules are actively updated, and their APIs rarely change. The 0.6.x branch brought some backwards breaking changes, but overall it doesn't seem to be a significant amount of work to update.

The platform isn't moving THAT fast that it's tough to keep up with.

I hear what you're saying. I had the same problem when i first tried Node as well. A friend of mine, started using it for a project and then gave up for the same reasons you cite above.

How do you feel about Node.js now that we're on version 0.6? I've been dabbling with it again recently and found it to be maturer and much more stable. I also heard a quote (i cant remember from who) in a video saying that Node was now production ready?

I've even been using it on Windows and found it to be very well behaved indeed. Same goes for MongoDB for that matter.

Node has been "production ready" for a while, yes. At least, Voxer, Ebay, LinkedIn, Joyent, and Microsoft (among others) seem to think so :)

The API is not changing quickly any more. In fact, in most areas (if you're just dealing with documented features and not diving into obscure internals) it's as stable as it's going to get.

The most recent breaking change that I'm aware of was announced almost a year in advance (though it still caused some hardship). We really are trying to avoid doing that sort of thing if at all possible.

Yes, it's young and there will be bugs, but updates that "break all the nodes" should be a thing of the past.

Great to hear. Cant upvote this enough. Thanks for replying and encouraging a beginner like myself. ;-)