The DRY principle misunderstood

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…

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…

Vim search: the developer guide

Let's dive into vim search Can a developer live without a good search engine in his editor or IDE? What developer never used the famous search and replace in multiple files? Yep. Nobody. You can be happy though, dear Vim user: your editor totally shine by its search features! With…

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…

Vim as a PHP IDE - the complete guide

Last update: 2018-02-23 Vim, an IDE? I can see you spitting your cereals in front of you computer. "What? A PHP IDE with Vim? Are you insane?" Am I? It's definitely possible to make a very powerful IDE with Vim, thanks to my ex-colleague kushellig who initiated me to this…