Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been anticipating this for a while. Some great additions, especially scalar type hinting and type hinting on return types. The ability to enable stricter typing via a directive is also great. It's a shame internals voted down short-hand syntax for anonymous functions, including implicit closure over outer scope variables - a function with closures in PHP can get ugly very fast. Using higher-order functions becomes far more unwieldy.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: