|
|
|
|
|
by nikanj
1624 days ago
|
|
I tried doing Advent of Code in Typescript, and spent entirely too many hours googling circular problems like "I can't use type:module because then ts-node can't load .ts files anymore, but if I don't use it, then require-statements are broken, but ...." I don't even remember the details, but I remember it all feeling very rickety. I'd never push anything that fragile into production, it didn't even survive 25 days of doing small puzzles without constant nursing |
|
Meanwhile guys like node-fetch and chalk ask us why don't we just adopt ESM.