I got into a conversation at work today about whether or not Node.js might become as popular and as ubiquitous as Ruby on Rails has become, or if it’s just a fad.
At first I was like “It’s going to become the most used framework evar!” But then I thought about it a bit more and realized that this might not be the case.
How does a framework or a language become popular?
One way to think about how a new programming language or a framework becomes popular is examine what needs to be in place.
- A vibrant active community.
- Good libraries and/or a healthy amount of contributors of libraries
- The use case for the language / framework must be clear
- It must be easy to get into, to learn.
- Easy to set up and get up and running
To me Node.js checks all the boxes on those, and it seems to have a lot of tailwind blowing its way.
The usability and barrier to entry
Another way to think about languages and frameworks is what the user experience for a beginner to intermediate developer is when starting their first steps trying out the language. How hard is it to get up and running with something simple? How useful is the default stack? On how many platforms is the framework/language available on?
To me, getting up and running with Node was super super easy. There’s plenty of examples out there and there are interesting frameworks like Express that do all the heavy lifting for you.
Will Node become ubiquitous?
In my mind I think it will. I’m also a bit afraid that Node.js will become the next PHP. Is that bad? I don’t know. PHP gets a lot of crap usually, but when you think about it, it does one thing really well: It’s super easy to get up and running in PHP so the barrier to entry is low. It really is perfect for beginner developers.
Node.js doesn’t have the same ease of use, but imo it’s better than Ruby on Rails (although people are free to argue about that)
Node is the future.