c/programming_languages · by TheCee@programming.dev · 2yTypeScript is Surprisingly OK for Compilers https://matklad.github.io/2023/08/17/typescript-is-surprisingly-ok-for-compilers.html16 points · 6 comments · view on lemmy.world
6 Comments
hairyballs@programming.dev · 5 pts · 2y
I've had the same experience with TS + deno. I always use that for prototyping, scrapping, etc. Great read.
nerdblood@programming.dev · 1 pts · 2y
I haven't tried it with Deno. Is it less of a pain to get started with project s that use TS than node?
hairyballs@programming.dev · 4 pts · 2y
You import from whatever packages you want, then you type your code. No need to create a whole project with a ton of shenanigans, a single file just works.
nerdblood@programming.dev · 2 pts · 2y
🤯 that's how it should be. I'm sick of shenanigans.
SourceOfMistypes@discuss.tchncs.de · 2 pts · 2y
I'm planning to try out langium so this plays into that quite well.
UFODivebomb@programming.dev · 1 pts · 2y
"However, it’s one of the core properties of TypeScript that it doesn’t add any runtime behaviors. " I did not know that! Cool!