TypeScript is Surprisingly OK for Compilers (matklad.github.io)
from TheCee@programming.dev to programming_languages@programming.dev on 18 Aug 2023 10:42
https://programming.dev/post/1850217

#programming_languages

threaded - newest

hairyballs@programming.dev on 18 Aug 2023 11:23 next collapse

I’ve had the same experience with TS + deno. I always use that for prototyping, scrapping, etc. Great read.

nerdblood@programming.dev on 19 Aug 2023 14:26 collapse

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 on 19 Aug 2023 16:17 collapse

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 on 19 Aug 2023 23:24 collapse

🤯 that’s how it should be. I’m sick of shenanigans.

SourceOfMistypes@discuss.tchncs.de on 18 Aug 2023 23:15 next collapse

I’m planning to try out langium so this plays into that quite well.

UFODivebomb@programming.dev on 19 Aug 2023 01:46 collapse

"However, it’s one of the core properties of TypeScript that it doesn’t add any runtime behaviors. " I did not know that! Cool!