Uncategorized

Code quality tools in PHP to check and improve your Code

Oh no! Your boss asked you to fix a bug which crash the company’s website on production. As quick as a jaguar you open the classes responsible of the maelstrom. They were coded by Dave, your colleague developer. The classes are full of formatting errors, poor indentation and weird one letter variables. There are so …

Code quality tools in PHP to check and improve your Code Read More »

The DRY principle: its cost explained with examples

I know what you are thinking: “Again a boring article on DRY? Don’t we have enough already?”. You might be right. However I see too many developers (junior or senior) applying DRY like they are doing some witch hunting. Totally randomly or everywhere they can. So apparently we never have enough DRY principle articles on …

The DRY principle: its cost explained with examples Read More »

PHP 7.2: the pitfalls to avoid for a better and cleaner code

What are the pitfalls to avoid with this new version of PHP and its new functionalities? As my previous article on PHP 7 scalar and return types pitfalls, instead of describing the new super cool features of this perfect PHP 7.2, I will describe what can be dangerous for the good health of your application. As Ward …

PHP 7.2: the pitfalls to avoid for a better and cleaner code Read More »

10 tips to become a better web developer

I had a dream! This dream was to write an article with a title beginning by “10 tips to…”. I don’t normally like them so much (yes, they are often pure clickbait) but let’s face it, humans like lists. That’s why we have the ul tag in HTML. When I finished to write this article and I counted …

10 tips to become a better web developer Read More »

Scroll to Top