News for hackers. Stuff that matters.
Re:Deno's Decline by danpalmer on Thursday May 01, 2025 @08:06PM (#43864796)
> I'm not doing another JavaScript rugpull. Node.js is here to stay, it's mature

I'm a bit of an outsider here, I've only run a little Node in production in the past, and used it on and off for ~13 years. My take is that these projects all get some hype specifically because Node.js is not mature.

I've got a hobby project that has a bit of Node in it, and it very plainly difficult (Which imports am I using? Not the good one. Which language am I writing? Not the typed one. Which package manager do I use? etc). Getting a new project set up well takes time and effort, it is not the default that Node gives you (at least in ~early 2024 maybe?).

I can really get behind the "not another JS rugpull" idea, but I also see why everyone is constantly wanting to get off Node itself onto something Node-like that solves their problems.

Re:Deno's Decline by andrewmcwatters on Thursday May 01, 2025 @10:48PM (#43865671)
You avoid much of this by ignoring new things that are new for the sake of being new. Imports instead of require? Waste of time. TypeScript? Waste of time. Widely unpopular opinion. Package managers other than npm? Waste of time.

Just ignore it all and you're fine. And definitely ignore the people who keep changing things on you.

If it doesn't help me ship more product, I do not care.

Re:Deno's Decline by danpalmer on Thursday May 01, 2025 @11:45PM (#43865997)
Moving to Typescript may be unnecessary, but starting a brand new codebase in 2025 and using JavaScript instead of Typescript is a hard one to defend. The fact that Node.js doesn't support it out of the box, let alone encourage it as the default, is much of the reason why the community is constantly clamouring for something better.
Re:Deno's Decline by curtisblaine on Friday May 02, 2025 @01:56AM (#43866598)
Node.js supports typescript out of the box by stripping types since node 22 (current LTS is 24, iirc)

https://nodejs.org/en/learn/typescript/run-natively

Re:Deno's Decline by andrewmcwatters on Friday May 02, 2025 @10:44AM (#43870532)
It’s pretty easy, its not necessary.