CutCodeDown

Web Development => Other Web Programming => Topic started by: Jason Knight on 27 Feb 2020, 10:07:13 pm

Title: So what do people think about Facebook "Hack"?
Post by: Jason Knight on 27 Feb 2020, 10:07:13 pm
https://hacklang.org/

As PHP forks go I kind of like it.

Not allowing any direct code/output in includes/libraries is a WAY overdue change that should be in mainstream PHP, as is making a main() function an essential part of the code. This way you can't just blindly run things directly.

The typecasting seems to actually be well thought out, instead of feeling shoehorned into the language, so props for that.

These changes allow namespaces to serve a legitimate purpose, instead of how useless/crippled they are in mainstream PHP.

I'd still like to see everything except single quoted strings kicked to the curb for their derpitude, but you can't always have it all.

Overall I'm liking what I'm seeing, and that's rare for a "new" language much less a fork of an existing one.