News for hackers. Stuff that matters.
Re:Upcoming changes in PHP 7.1 by elgenie on Monday May 23, 2016 @07:27AM (#11753135)
It's pretty amusing to read some of the PHP RFCs and see the verbal gymnastics taken to avoid saying "look, we're just taking this directly from Hack" :)
Re:Upcoming changes in PHP 7.1 by TazeTSchnitzel on Monday May 23, 2016 @07:32AM (#11753148)
There's certainly a lot of stuff inspired by Hack. If Hack did something well, sometimes PHP copies it. The syntax of all PHP 7's new type stuff is very close to Hack's.

Though the details may differ significantly. Hack and PHP's type systems are only superficially the same (AOT rather than runtime validation, disabling or ignoring type checks versus using "weak" type checks, type inference vs. no type inference, etc.), for example.

Re:Upcoming changes in PHP 7.1 by coldtea on Monday May 23, 2016 @07:58AM (#11753265)
Well, Hack was in turn based on PHP, so?
Re:Upcoming changes in PHP 7.1 by nkozyra on Monday May 23, 2016 @08:02AM (#11753283)
Some of this could also be attributed to the fact that Hack also borrowed heavily. While I'm sure a lot of it came from playing with Hack and saying "wow, this should be how PHP7 does things," it might also be recognition from use in other languages (Java specifically).
Re:Upcoming changes in PHP 7.1 by agumonkey on Monday May 23, 2016 @08:18AM (#11753342)
python, php, es6 ... Lisp did all before. (waiting for the smalltalkers to pitch in).

In a less facetious spirit, it's interesting to see languages converge a lot. Darwinian gene dynamics.

Re:Upcoming changes in PHP 7.1 by untog on Monday May 23, 2016 @03:33PM (#11756263)
What's wrong with that? Hack was based on PHP, no? It's like CoffeeScript and JavaScript - lots of the incredibly useful features in CoffeeScript found their way into ES6.