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…
This is the second post in my Missing in PHP7 series. The previous one is about function references. 2020 update: named parameters…
This is the first post in my Missing in PHP7 series. Over time, PHP has improved its capabilities with regards…
Last week I gave a presentation titled “Clean functions” to my Wikidata colleagues. As the title suggests, this presentation is…