4 ms·
What's the point? You can use types in the vast majority of places in PHP and it works well, so I don't really see the point of that instead of contributing to
by iLoveOncall 4y ago
What's the point? You can use types in the vast majority of places in PHP and it works well, so I don't really see the point of that instead of contributing to the native typing system.
- krapp 4y agoJavascript already set the precedent. If you don't like the way a language works, it's preferable to have a proxy language that does work the way you want that compiles to it, rather than accept the language for what it is and learn to work with it.
- 867-5309 4y agowhat do you suggest to achieve this? electron?
- 867-5309 4y agojust a downvote then. helpful.
- iLoveOncall 4y agoYou missed my point: PHP is adding types to the core language, so instead of developing a superset, contribute to the type system of PHP. The comparison just isn't relevant.
- 0x073 4y agoJavascript can't be compared with PHP, javascript is the only scripting language that all browsers understand except wasm. And there are multiple interpreters that may work different or have not all features avail. PHP is used on servers that can run many different languages. Additional there is only one php interpreter that is widely used (yes there was hhvm and some others ), that means you can rely on all features of this version.