All good things…
Today was my last day at Digg. After two and a half years there, I just felt that it was the right time to move on to something new. But I can honestly say it was the best job I've ever had. Such a talented group of people, doing really great things. And not only does that company know how to party, but you also get to cross paths with some interesting people and visit some cool places.
Pragmatic tips for unit testing in PHP
Recently I've been hearing a lot of differing opinions about unit testing. Some people just don't believe in it at all, others think the value it provides is only part of the picture, and that its cost should be weighed accordingly. Some think that 100% test coverage should be the goal for high quality software. I personally think the cost of unit testing 100% of your code is worth it, but only if you can do it efficiently. And that's the catch; there's a learning curve to become proficient at unit testing, especially with PHPUnit, the most prominent unit testing framework for PHP. Unit testing should never take more than 20-30% of your overall coding time, if you do it right.
2009 Year in Review
I've been thinking about starting a blog for a while, and since it's the beginning of a new year, I thought I'd start out with a list of highlights from last year. So here's my 2009 Year in Review: