Shapes, TypeAssert, and JSON APIs

January 06, 2017

Hack includes a type of datastructure called shapes; shapes are a collection of fields with types, and support structural typing. This can be useful for making type-safe code to interact with third-party APIs.

Greenfield Projects with Hack

October 28, 2016

Hack's documentation and marketing is largely focused on how easy it is to migrate an existing PHP project; while this is a unique advantage of Hack, there isn't much guidance on how new projects should be designed.