Facebook has just released a new programming language named Hack, that will allow programmers to write code faster with less errors. It is an open-source language facilitating developers to write and deliver bug-free code quickly.
Hack programming language combines the elements of static-type programming languages such as C with dynamic programming languages like PHP.
From the Facebook blog post: “Hack reconciles the fast development cycle of PHP with the discipline provided by static typing, while adding many features commonly found in other modern programming languages.
We have deployed Hack at Facebook and it has been a great success. Over the last year, we have migrated nearly our entire PHP codebase to Hack, thanks to both organic adoption and a number of homegrown refactoring tools.We’re also proud to release an open source version of Hack to the public at http://hacklang.org/ as part of our HHVM runtime platform, which will now support both Hack and PHP.”
“Traditionally, dynamically typed languages allow for rapid development but sacrifice the ability to catch errors early and introspect code quickly, particularly on larger codebases. Conversely, statically typed languages provide more of a safety net, but often at the cost of quick iteration. We believed there had to be a sweet spot.”
According to Facebook, PHP developers that are using HHVM need not to worry about Facebook abandoning PHP as Facebook engineer said “HHVM is now a runtime that supports both PHP and Hack, so you can start to take advantage of Hack’s new features incrementally.”
Related Posts...
TechnologiesWeb DesignWhat's Hot
Apr 18th, 2024
Your corporate website is a critical component in shaping perception of your brand. Discover how elements like design, content, and UX influence how customers view your company. We break down key strategies to align your site with your brand identity.
Read more
Apr 11th, 2024
Discover how Singsys’ expertise in website development can help your business succeed with responsive and intuitive websites. Enhance user experience and boost conversions today!
Read more
Apr 2nd, 2024
As consumers’ expectations continue to rise, delivering an exceptional user experience (UX) has become a key differentiator for businesses seeking to gain a competitive edge.
Read more