rahulpaul12
rahulpaul122mo ago

As a JS beginner, should I learn Node.js first or go straight to Deno 2?

I am new into web dev currently learning js
6 Replies
Erdem
Erdem2mo ago
doesnt matter a lot actually but deno 2's cli is easier and better so you can try deno 2 bc it supports almost any nodejs framework
yome
yome2mo ago
or you can try first node for tutorials (more popular) then switch to Deno 2
River
River2mo ago
Node is not best thing, deno much better, you can dive in to deno without any contacts with Node. But lot of useful projects was made on Node, unfortunately. and you can have some knowledge about how Node work.
krml
krml2mo ago
As Erdem mentioned: It should not matter. The language should be the same. As you're starting out chose whatever interests you more. There should be more examples out there that are written for Node. However those example should be easily "translated" for Deno as well. One question: What would you like to build or do you plan on following tutorials / examples first? ☺️
Fanta
Fanta2mo ago
It doesn't matter, as long as you understand the domain fundamentals that carry over regardless of languages and frameworks I used to overthink every option I had to work with, when I could just deepen my understanding in one thing. And then I realized that I was running around chasing job opening FOMO "Oh it's Django that sells" for a month, then "f$% that's a sweet FastAPI position I could've applied but went Django", "oh so many .NET openings I'll just learn a little .NET Core". The result is 1 month of experience 3 times instead of 3 months of experience with one thing.
jlsnow301
jlsnow3012mo ago
I don’t know if this is relevant advice to you but juniors, including myself at one point, sometimes see node as a framework or language that they need to learn. It’s just an app, you don’t need to deviate from learning JS. You probably don’t need a course in node or deno, the docs should be just fine