Hacker News new | ask | show | jobs
by robinson7d 946 days ago
There’s a short thread by WalterBright in here that explains why: https://news.ycombinator.com/item?id=38199237

The back and forth on that thread seems to result in advocating for what we’ve got: compiler (TypeScript in your example) not caring, but linter caring.

The reason not to in the transpiler is it can be very helpful during testing to block or force some paths.