Hacker News new | ask | show | jobs
by nawitus 4457 days ago
I don't agree with the authors conclucion. His reasoning seems to be that since TypeScript doesn't fix everything in JavaScript, then it's "not the answer". TypeScript makes large JavaScript applications more maintainable and reduces the need for a subset of unit tests. It brings value but obviously doesn't solve everything.

You can also reduce the "JavaScript mines" by using a linter. TSLint has a nice collection of lint rules (and you can write more of them yourself) to make it impossible to use .e.g "==" instead of "===".