News for hackers. Stuff that matters.
Re:CoffeeScript for TypeScript by yashap on Monday February 27, 2023 @07:00PM (#34963863)
Yeah, I like a lot of the language features here, especially:

- Everything is an expression

- Pattern matching

- Spread in any position

- Dedented strings/templates

However, I wouldn't use it, because the chance of it becoming abandonware that I just have to migrate off of later is way too high. I'll write a few extra TypeScript characters here and there for the stability.

Re:CoffeeScript for TypeScript by hyperfekt on Tuesday February 28, 2023 @04:03AM (#34967202)
Unless civet's compiled output is hard to read you could always just check in the compiled Typescript source and continue from there if it gets abandoned. Not much of a risk when the migration is built in by the way the tool works in normal use.
Re:CoffeeScript for TypeScript by yashap on Tuesday February 28, 2023 @10:35AM (#34970428)
The compiled output seems pretty clean, but isn’t necessarily what you’d write by hand. e.g. adds things like anonymous functions called immediately, when you’d probably just write a named private function, that sort of thing.