October 26, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

Facebook Releases Programming Language Called 'Hack'

  • March 21, 2014
  • By Developer.com Staff

Facebook has announced the release of a new programming language called Hack that's an alternative to PHP. In fact, Facebook says it has replaced most of its own PHP code with Hack over the last twelve months.

In essence, Hack adds static typing to PHP (much as Microsoft's TypeScript adds static typing to JavaScript), which provides greater security. Two other notable differences are Hack's support for Collections and the ability to use lambda expressions to create closures. According to a Facebook blog post, the lambda expressions require "a fewer number of keystrokes, which is a big win for productivity."

View article






Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Sitemap | Contact Us

Rocket Fuel