News for hackers. Stuff that matters.
Re:TypeScripting the Technical Interview by thih9 on Monday March 13, 2023 @10:51AM (#35136471)
I’m unfamiliar with TS. Could someone explain this part?

> Invoke the compiler

    $ tsc *.ts --lib esnext --outFile /dev/stdout 
    var ᚾ = Symbol();
    var ᛊ = Symbol();
    var ᛚ = Symbol();
    var ᛞ = Symbol();
Why is there so little output? Is that because the compiler removed the unneeded types? And the author is implying that the task was boilerplate and pointless?
Re:TypeScripting the Technical Interview by agmyintmyatoo on Monday March 13, 2023 @11:04AM (#35136677)
Everything is only in type system providing developer type-hints. When compiled, it all boiled down to plain js.