Hack: a new programming language

Facebook developers released a PHP-powered language called Hack, which introduces enhancements and the proposed features originally dropped from PHP core. Some of the powerful features of Hack Type Annotations: allow for PHP code to be explicitly typed on parameters, class member variables and return values. Generics: allow classes and methods to be parameterized (i.e., a …