News for hackers. Stuff that matters.
Re:A statically typed scripting language that transpiles to ... by ketralnis on Friday March 25, 2022 @06:46PM (#30807729)
You caught me, I've never written typescript. I don't think that changes my claim though
Re:A statically typed scripting language that transpiles to ... by eyelidlessness on Friday March 25, 2022 @08:47PM (#30808336)
I think I have varying and stronger feelings about it depending on context. Personally if I were to use this or any compile-to-shell thing, I’d probably prefer it produces unreadable output. I don’t want to ever read bash if I can help it. If I have to, it’s a good sign I’m already beyond my preferred scope for using bash in any way.

Whereas if I’m compiling TypeScript/CoffeeScript/anything to JS, it’s pretty likely I already have JS as a built in constraint and I probably want to be able to read the output so I can debug it.