Hack is a programming language for the HipHop Virtual Machine (HHVM) invented by Facebook. The language is open source.Hack can be seen as a new version of PHP that also runs on the HHVM, but it allows programmers to use both dynamic typing and static typing. This is what is called gradual typing,
which has been mostly seen as an academic exercise; as described by
Facebook, it is the first to bring gradual typing to a "real, industrial
strength" language. Hack's type system allows types to be specified for
function arguments, function return values, and class properties; however, types of local variables cannot be specified.
From Wikipedia, the free encyclopedia
Hack (programming language)Tutorial