5 ms·
Ask HN: Is Node.js recommended in the long term?
I'm developing a side project using Vue, Express, and Mongo. I'm wondering whether this is the best idea, since I want the app to last 5-7 years before needing a rewrite. Is it a good idea to choose NodeJS for the backend or should I go with something more old-fashioned?
- maxharris 10y agoYes, Node is fine. Check out the long-term support schedule: https://github.com/nodejs/LTS https://github.com/nodejs/LTS
- bbcbasic 10y agoIs Mongo recommended in the long term?
- murukesh_s 10y agoYes it's fine..
- h1d 10y agoPeople need to speak up when they want to provide opinion. It's not a vote.
- deathtrader666 10y agoCheck out the PEEP Stack - https://medium.com/peep-stack https://medium.com/peep-stack Since it is a side project, you can swap out Ember and try Elm.
- rohithv 10y agoI would simply say no..
- dvdcxn 10y agoCould you please elaborate?
- applecrazy 10y agoCould you explain why? What do you recommend instead?
- thefastlane 10y agotake a look at python+flask and clojure+ring+compojure (and other tech too) before throwing your hat in the node ring. going with a more general-purpose language might serve you better down the road. javascript will limit you to web dev essentially -- which you want to do now, but what about 5 years from now, etc
- rohithv 10y agoIts a personal choice more than many things. The more I do this, I realize why I prefer strong typing for a server stack or to build a platform base.
- chatmasta 10y agoWhile others may suggest clojure or elixir or some equally esoteric development stack, there is one important advantage of nodejs: almost everybody uses it. Maybe other languages will allow you to program more efficiently, but they have a learning curve and a fraction of the developer adoption that nodejs has. When you pass your project onto someone else, there's a high chance they are already familiar with nodejs. Whereas if you pass a project to someone else in a less-known language, they are likely not familiar with it and will need to overcome a steep learning curve. If you want maintainable projects, where a freelancer is always available who knows how to continue development of your project, then go with nodejs. If you want to learn a new language or framework, do it for pet projects with no collaborators.