News for hackers. Stuff that matters.
Re:Hack: a new programming language for HHVM by wvenable on Thursday March 20, 2014 @01:01PM (#7436875)
PHP is based on C. It's way more consistent with C, Java, C# , etc to do the former. So the real question is why

    function foobar() : int { .. }
instead of

    function int foobar() { .. }
Re:Hack: a new programming language for HHVM by amenghra on Thursday March 20, 2014 @01:18PM (#7437030)
1. function foobar() makes it easier to grep for. 2. if I recall correctly, it made some parts of the grammar easier.
Re:Hack: a new programming language for HHVM by wambotron on Thursday March 20, 2014 @01:37PM (#7437196)
Yeah, you could go either way on it really. It seems weird to mix them, though!