Global States: Why and How to Avoid Them

Global states are common pitfalls many developers fall into. Indeed, difficult to scale and maintain an application crippled with globals. Why is that? Isn't it convenient to be able to access variables and their values everywhere? The global state problem is only part of a bigger one, namely leaking states and the lack of encapsulation. »

22 min. read

10 Tips to Become a Better Web Developer

This list range from the obvious to the underestimated skills and mindsets you should have if you want to be a better web developer. Spoiler ahead: it's not only being good technically. Interest and motivation will drive you faster than any knowledge in the last ephemeral trend. »

14 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