Fascinating to see new technological things in market and that people are moving to a new age of better technology.
So before walking on the path of whether to switch to deno from nodeJS or is it better to stay with nodeJS, let’s look at what deno is and what points it comes with that are an enhancement from nodeJS.
What is Deno?
As per the definition on the official website, Deno is a secure runtime for javascript and typescript as well.
Just like nodeJS it allows us to run javascript as an executable standalone program other than the browser. It provides a stand alone tool for quickly executing the javascript complex functionality.
It also supports typescript without adding other tools or libraries. The standard modules in Deno are all written in typescript.
The funny thing is that the person who developed Deno is the creator of nodeJS. Yes, Deno is developed by Ryan Dhal to overcome some problems or say bugs encountered in nodeJS.
There are a couple of weaknesses in nodejs on which the Deno came into play. But if we look at them they are actually something that should matter to you.
The weaknesses are as follows:
- NodeJS didn’t have a support for typescript.
- Deno ES6 conventions, making it comfortable to switch from front end to back end, unlike nodejs where it used commonJS conventions.
- NodeJS was not secure, which is overcome in Deno. This only says it is not secure by default. Obviously, developers are famous for tweakig code here and there, and making stuff possible. NodeJs allows you to make secure applications but it is not present there by default.
Well, that does not mean that nodeJS is going to die down or nodeJS developers are going to be jobless. We will now look towards why is it really still awesome to be a nodeJS developer and not be afraid of being unaware of Deno.
Using NodeJS Over Deno
No, you don’t have to worry about it. Deno is just a new product in the market with not a big community and few projects.
Many organizations are using nodeJS and will continue to do so as they have to maintain there code until and unless they decide to redevelop the program.
There are many projects and learning material available out there to learn nodeJS.
And there are new advances being made to it. Ryan Dhal the creator of both deno and nodeJS said that nodeJS will maintain its seat in the room for quite long.
So it boils to it, that if you really like to use nodeJS then go and play with it! Deno is not going to be taking the market down.
Deno is just present as another choice of option for you to play.
Happy coding!