Over the 15+ years of my development career, I have learned several things that significantly increase my effectiveness. In this…
Guard Clauses are one of my favorite little tricks that allow simplifying code. A guard clause is an if statement…
Several tricks and heuristics that I apply to write easy to understand functions keep coming up when I look at…
Several tricks and heuristics that I apply to write easy to understand functions keep coming up when I look at…
DRY, standing for Don’t Repeat Yourself, is a well-known design principle in the software development world. It is not uncommon…
This blog post is a reply to Dan’s presentation Why Every Element of SOLID is Wrong. Dan’s presentation is crammed…
Last week I attended the 2016 edition of the PHP Unconference Europe, taking place in Palma De Mallorca. This post…
I’ve decided to start a series of short blog posts on how PHP gets in the way of creating of well…
Earlier this month, PHPMD 2.3 was released. It contains several new features, including two that I added primarily for use…
PHPCS (PHP Code Sniffer) detects violations against a specified coding standard. PHPMD (PHP Mess Detector) is a similar tool, though…