Hacker News new | ask | show | jobs
by michielvoo 4623 days ago
Superset[1]

[1] http://www.typescriptlang.org/

1 comments

Thanks!

Is there a guarantee that TS will remain a strict superset?

Looking at the syntax, it reminds me of Flash ActionScript, which started out as an ECMAScript implementation but became an incompatible superset that pretended to be JavaScript compatible but would whine endlessly about untyped var declarations...

Hopefully ActionScript and C++ will serve as warnings to TypeScript designers: if you're ever thinking about disrupting code compatibility with the original language in the name of added type safety, don't do it.

My understanding is that the TypeScript team intend to TypeScript to always remain a superset. If you watch the various videos with Anders talking about it then that comes across pretty clearly.