The Happyr developer blog is maintained by Happyr.com. We share our views, our findings and things we think are interesting.
Open source
We are a strong believer in open source. We use it a every day and are happy to contribute back to the community.
Symfony
The Symfony community has long been the force that drives PHP developer to more modern and stable applications. Most things we do at Happyr is related to this awesome framework.
Recent Posts
Shape
Hack introduced a concept called Shapes. It is an object like the associative PHP array but with predefined array keys. If you are familiar with C you might ...
Why collections?
Hack has introduced some new object to replace the PHP array. These collections are Vector, Set, Map, Pair and some more. If you are familiar with Java or C#...
Hack Lambda expressions
Hack is all about making it easier for the developer to write good code. There has been some improvement of the PHP anonymous function or closer as they also...
Hack constructors
Hack got a lot of features and improvements of different kinds. It comes with some syntactic sugar. The constructor is a subject for a syntactic sugar improv...
Hack modes
When you are using Hack you are running in one of 3 different modes. The modes are telling the type checker how strict (or forgiving) it should be when check...
Using generics in Hack
Hack has introduced some new collection objects that will be a replacement for the array(). But what if you feel that something is missing? What if you have ...
Method declarations in Hack
This post will go more in details of my last post about types. After reading that last post you know that a method declaration in Hack will look like this:
Hack types
The biggest difference between Hack and PHP is that PHP is using dynamic typing and Hack is statically typed. Java and C# is other languages that is statical...