News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Allan MacGregor:
Hello Hack
March 25, 2014 @ 09:50:33

Allan MacGregor has a new post to his site introducing you to Hack, the recently released language from Facebook based on their work with the HipHop virtual machine.

Recently Facebook unveiled Hack, a new programming language that aims to provide developers with the tools to write and ship code quickly while catching errors on the fly. Hack is as programming language designed to work with HHVM and the same time it works seamlessly with PHP as Facebook lead devs. [...] So does that mean that Hack is just a faster more efficient PHP implementation, right? Wrong, Hack is much more than that, the language brings features that are normally found in statically typed languages to the dynamically typed world of PHP.

He focuses in on the static typing functionality of Hack a bit more and includes an example of PHP code where Hack would catch the type shifting. He also briefly mentions some of the other features including built-in collections, traits, generics and asynchronous programming.

0 comments voice your opinion now!
hack facebook language introduction typing

Link: http://coderoncode.com/2014/03/23/hello-hack.html

blog comments powered by Disqus

Similar Posts

PHPBuilder.com: 10 Easy Examples for Deciphering PHP Regular Expressions

PHP.net: PHP 5.4.17 released!

McGlockenshire.com: Waiting for PHP 5.4: Death to prehistoric cruft

Community News: Facebook Releases Initial Version of HipHop on Github

Mike Bernat's Blog: Design Patterns (an Introduction and the Singleton)


Community Events

Don't see your event here?
Let us know!


laravel podcast version wordpress voicesoftheelephpant framework laravel5 extension list library community unittest release api php7 opinion series interview introduction language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework