2 ms·
You are right about PHP vs C++. But C++ is too easy a target. I dislike PHP just as much as the next guy, but I am quite impressed with how Hack turned out.
by eru 6y ago
You are right about PHP vs C++. But C++ is too easy a target.
I dislike PHP just as much as the next guy, but I am quite impressed with how Hack turned out. It's Facebook's improved PHP. See eg https://hacklang.org/ https://hacklang.org/
It's not that Hack is a good language in absolute terms. But I think it's about the best language they could have come up with when starting from PHP.
(For a better comparison instead of C++, but still in similar spirit to C++, perhaps take D.)