How to not write a condition for code readability
Sometimes you find a perl in some code and it might take you a while to understand.
In the sessions management code of Chamilo, I found this the other day, then decided to leave it for later because I was in a hurry. Then today, I found it again, and again...