3 ms·
> What TypeScript showed is that you could join together the idea of a flexible lightweight (and optional!) type system onto an existing programming language, a
by civilized 5y ago
> What TypeScript showed is that you could join together the idea of a flexible lightweight (and optional!) type system onto an existing programming language, and do so successfully.
> The question then is - what if you created a programming language from the start to have this kind of support? No need for transpilers, while also having stronger engine integration and maybe even better runtime errors?
You mean like Python 3?
- cardanome 5y agoPHP might be a better example. Really great gradual type system that is much simpler than TS. You also get runtime errors based on types. And since 8.1 we finally got proper Enums.
- coldacid 5y agoNow if only something could be done about its schizophrenic standard library and built-in functions.
- cardanome 5y agoThings are done about them in cases where people feel there is strong reason to do so. It just that breaking backwards compatibility might not be worth it many cases. Personally I never understood the complaint. The standard library is pretty decent and well documented. Sure there is lots of historical cruft and inconsistencies but I would be way more annoyed if it got changed.