|
|
|
|
|
by simonhamp
2148 days ago
|
|
A lot of what Hack introduced to the PHP community has become available in suitably forward-thinking ways to allow for a sensible amount of backwards compatibility and are opt-in. For example, you can set strict typing on a per-file basis. `declare(strict_types=1);` I believe that the performance difference between the two is negligible now too. So it really just comes down to personal preference/platform legacy. But Hack is on a different path which is potentially going to make it harder to share code between PHP and Hack. PHP still has by far the larger community. Given the choice today, I’d run with PHP. |
|