3 ms·
PHP 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 final
by cardanome 5y ago
PHP 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.