4 ms·
PHP has really become quite great to work with. I wish there was a fork of PHP that cleaned up all the things that would break backward compatibly (e.g. have c
by alberth 5y ago
PHP has really become quite great to work with.
I wish there was a fork of PHP that cleaned up all the things that would break backward compatibly (e.g. have consistently method naming, clean up type casting for methods that do that which can today lead to weird bugs, etc). Essentially, haven't an entire "clean" language to work with.
- caditinpiscinam 5y agohttps://hacklang.org/ https://hacklang.org/
- alberth 5y agoI was under the impression that even though Hack no longer is backward compatible with PHP - that in practice, it's still largely the same (not much has changed). Or am I mistaken?
- tored 5y agoLots of changes. Like built in async, generics, shapes (typed associative arrays) and I learned the other day here on HN that XML templating is built into the language, somewhat similar to JSX.
- slimginz 5y agoJSX in React was actually based on XHP (Hack's XML template framework) since both were developed at Facebook
- francislavoie 5y agoA fork would completely fracture the community. No thanks.
- dcgudeman 5y agoThere already is a fork, https://hacklang.org/ https://hacklang.org/. It didn’t fracture the community, people just don’t use hack.
- tored 5y agoMy suggestion would be to create a language that compiles to PHP, similar what TypeScript is to JavaScript.