Facebook introduces a new programming language named ‘Hack’ and says that they have deployed Hack at Facebook and it has been a great success. Over the last year, they have migrated nearly their entire PHP codebase to Hack. Hack is not something related to hacking but it is a programming language that interoperates seamlessly with PHP. After its great success Facebook have released an open source version of Hack to the public and claims that ‘Hack’ will lets programmers build complex websites and other software quickly and most important without Flaws.
According to the experts, Hack programming language is a new version of PHP. In general, anything you can write in PHP, you can also write in Hack. Hack can support more complex scenarios, but starting with Hack can really be as simple as adding <?hh to the top of your existing PHP file and writing the code to which you are accustomed, incrementally using Hack features at your leisure.
?hh echo "Hi, I'm a Hack script!";
For more detail and features of Hack programming language check its open source version to the public at its official website http://hacklang.org/
See the video playlist bellow of its Opening Remarks – Hack Dev Day.
If you liked this post, please don’t forget to like and share it. You can subscribe us by your email to make every post delivered to you directly in your inbox.