hi tami,
Weißt Du denn, warum Facebook da seinen ganzen Code auf Hack umstellt?
"Collections provide a clean, type-safe alternative to PHP arrays. We designed them specifically to work well with static typing and generics. The Collections API offers many classic higher-order functions such as map() and filter() to facilitate functional programming styles.
Lambda expressions give a concise syntax for creating closures. While PHP has closures, it requires the programmer to explicitly name the variables they need to use from enclosing scopes. With Hack's lambda expressions, we automatically infer these uses, saving you needless work. Lambda expressions make it more convenient to take full advantage of the Collections API."
https://code.facebook.com/posts/264544830379293/hack-a-new-programming-language-for-hhvm/
mfg
tami