Photo courtesy of flickr user Trygve Lie.
The creator of Node JS, Ryan Dahl, recently gave a talk at JSConf EU 2018 titled "10 Things I Regret About Node.js"
It's a great talk about Node and he also goes into some details about his new project Deno, a secure TypeScript runtime on V8.
Here's some of the things he regrets:
- dynamic languages are great for certain things. In a server though, you want things to be statically typed. (Probably why he wrote Deno in TypeScript and Go)
- design mistakes:
- didn't stick with Promises in Node (in the beginning), keeping them could have sped up async/await development.
- Build system (GYP)
Even Brendan Eich chimed in
BrendanEich@brendaneichRyan Dahl, also me since 1995: "What I've come to learn now that I'm aging is that whenever you're designing a program, there's things that you think might be cute to add in, you always regret those... don't do them!"
youtube.com/watch?v=M3BM9T…18:12 PM - 06 Jun 2018
Give it a watch. I'm curious what everyone's thoughts are.