HackerTube

10 Things I Regret About Node.js - Ryan Dahl - JSConf EU

JSConfRecommended by 6 HN commenters across 4 months, 2018–2025
YouTube
talk · intermediate · evergreen · 2018–2025 on HN

Node.js creator Ryan Dahl discusses ten design mistakes he made in Node, including package.json, npm, and module resolution. The talk sets out the motivations behind his later project, Deno.

HN treats it as the classic talk on why Deno exists and on lessons from design mistakes in a widely used platform.

12 comments from Hacker News

@bin_bash2023-01 · in “Breaking the Snake: How Python went from 2 to 3”

Ryan Dahl's great talk on design mistakes he made with node.js is something I think about all the time: ▶ this video Even though he considers things like `require('./something')` defaulting to either `./something.js` or `./something/index.js` a mistake, he also admits these are not possible to change at this point. I think Python made a mistake trying to correct design problems in 2. The cost of change simply wasn't worth the price of migration. Is `print("text")` really that much of an improvement over `print "text"`?

Strongly recommends View on HN
@onetom2021-02 · in “Choose Boring Technology (2015)”

Recommended "literature": 1. 10 Things I Regret About Node.js - Ryan Dahl - JSConf EU ( ▶ this video ) 2. Brendan Eich: JavaScript, Firefox, Mozilla, and Brave | Lex Fridman Podcast #160 ( link )

Recommends View on HN
@bartlomieju2020-12 · in “Deno 1.6 supports compiling TypeScript to a single executable”

Deno is a JavaScript runtime much like Node. For the reasons on why creating Deno I recommend "10 Things I Regret About Node" by Deno's author [1] Deno is different than Node in several aspects; most notably: - Deno supports only ES modules, there's no built-in support for CommonJS modules - Deno's APIs are all promised based - Deno does not use NPM, instead it can pull code from any URL, much like browsers do - Deno has built-in permission system that by default runs your code in full sandbox allowing to opt-in into breaking out of sandbox (eg. to read a file from disk) - As you've mention Deno can run .ts files without explicit build step - Deno comes with a full toolchain in a single binary (formatter, linter, test runner, bundler, doc generator) [1] ▶ this video

Recommends View on HN
@azemetre2020-06 · in “Design Doc: Use JavaScript instead of TypeScript for internal Deno Code”

Deno [1] is a new JS runtime by one of the creators of NodeJS, Ryan Dahl. He had a great talk [2] about the lessons he learned when creating/maintaining NodeJS. Many of these lessons are being applied to Deno. [1] link [2] ▶ this video

Recommends View on HN
@j1elo2020-06 · in “Deno will stop using TypeScript”

I just hope in 5 years we're not seeing a talk saying that in retrospective, dropping static types was a huge error... and DoNe is a new project to fix issues like that! (I'm just referring to this nice talk about the regretful mistakes done in Node: ▶ this video )

Recommends View on HN