Build Your Development Environment For More Productivity

Last update: 2018-10-22 Some years ago I was using Ubuntu. It was easy to install and easy to use. I mostly used Windows in my computing life and Unity was feeling similar. At least to me. It was not perfect though: Weird display bugs was popping from time to time. I always felt Unity pretty slow. I had to compile manually a lot of applications not available in the official repositories. »

15 min. read

Side Projects for Software Developers: 10 Steps From Creation to Launch

Last update: 2019-02-04 It’s 2am. Your eyes are tired, you know you’re coding nonsense but you can’t look away from your computer. With a shacking hand you catch a bottle containing a mix of sugar and caffeine. This horrible bug in your code won’t let you in peace till you destroy it. You spent five hours non stop on it. But still, you don’t see the end of the nightmare. »

16 min. read

PHP Code Quality Tools to Check and Improve your Code

Last update: 2019-02-02 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 many dependencies you need to scroll down for minutes to escape the bloated constructor. »

13 min. read

The DRY Principle Explained: Its Benefit and Cost with Examples

Last update: 2018-08-09 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 Internet. A little reminder for those in the back who don’t follow: the DRY principle means “Don’t Repeat Yourself” and was first introduced in the The Pragmatic Programmer. »

11 min. read

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 Cunningham stated it: “You know you are working on clean code when each routine you read turns out to be pretty much what you expected. »

6 min. read

Vim Search, Find and Replace: Commands and Plugins

Can a developer live without a good search engine in his editor or IDE? What developer never used the famous find and replace in multiple files? Yep. Nobody. You can be happy though, dear Vim user: your editor totally shine by its search features! With a minimum of configuration you can be able to search whatever you want, wherever you want at light speed. You need to use Vim to find and replace occurrences in thousand of files and filter with a maximum of granularity? »

10 min. read

10 Tips to Become a Better Web Developer

Last update: 2018-06-24 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. You are a web developer and you want to improve? Improvement is indeed something you should have in mind: it will make your work much more enjoyable and your boss happier. »

14 min. read

Vim for PHP: The Complete Guide for a Powerful PHP IDE

Last update: 2018-09-18 Vim, a PHP 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: you need to know what plugins install and what are their purposes. It was one of my ex colleague (kushellig) you showed me how to do so. From their I simply improved it for my needs. »

14 min. read

How did I Replace PhpStorm by Vim in my Heart

I wrote an article some time ago in order to give you the most useful tips and tricks for my favorite php IDE, PhpStorm. Well, sorry PhpStorm, you were my favorite IDE. Things changed. I love another one now. Its name is Vim. Are you confused? Are you yelling “why”? What happened between PhpStorm and me? Why a PHP developer would use this… old smelly thing called Vim? I was happy with PhpStorm. »

13 min. read

PHP 7 Type Hinting: Inconsistencies and Pitfalls

When PHP 7 came up with strong types, I saw the light. I had the hope not to see anymore bugs and inconsistencies due to weak typing in PHP. I remember reading some code and having no idea what could be the type of the variables I had in front of me. Can I use the return of this method as an int? A boolean? Will it create silent bugs and unexpected behaviors? »

8 min. read