FEATURES OF HACK

  • Hack provides a method, the ability to annotate and to specify the return type. 
  • Hack helps to detect unsafe coding issues like using null values. 
  • Hack provides a group of type safe collections like Vector, Map, Set, etc. 
  • Hack also provides tools to the types called the ‘Hack Type Checker’. 
  • Hack also reduces programmer overhead by minimizing the need of casting. 
  • Hack also provides type related error messages that help the programmer to correct the core issues in their code. 
  • Hack allows a programmer to call a PHP method and vice-versa. 
  • Hack is basically designed to bridge the gap between dynamically and statically typed languages by providing features normally found in statically typed languages to PHP.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.