Infographic Template Galleries

Created with Fabric.js 1.4.5 - Hack was introduced and March 20, 2014. It was created by Facebook. - Hack is a programming language for HHVM (HipHop Virtual Machine).- Hack a sweet spot: Dynamic PHP Hack Static C++ Introducing Hack Hack Types * All PHP type : int,array, MyClassName* Nullable : ?int,?MyClassName* Mixed : anything* Typles :(int ,bool,X)* Closures : function(int) :int* Collections : Vector<int>,Map<String,int>* Generics : A<T> * Constraints: foo<T as A> (T $x):T Hack Type System - Class mebers- Function parameters- Return types- All the rest Hack Modes The default : <?hh Static Typing -> Dynamic Language - Hack was born as a compromise between the two factors mentioned above.- It will let you know when your source misspelled through a local server machine (like the first picture post), we do not need to put PHP code on the server and then run like debuggers. - During the writing process, the <? php you used is replaced by the <? hh. Test Error What is Hack ? * A statically typed languge for HHVM* Compatible with PHP: + Interoperates with no overhead + Some representation at runtime* Evolved from PHP: + If you know PHP,you know Hack !* Designed for incremental adoption: Gradual typing Hack Install HackUsing Hack requires installing HHVM+ Compile From Source *Ubuntu *Debian *Fedora *Mint 15 *CentOS *Other Run by HHVM 1. Install your favorite webserver2. Install our package3. Start your webserver4. Start HHVM5. Browsing the web Convert Your PHP code to Hack You can use : "hackificator ."
Create Your Free Infographic!