PHP

Avoid Yoda conditions

5

After blogging about the semantic importance of void as pseudo type I feel like I should also point out the nonsense of Yoda conditions. Those are still used quite a bit in the coding world, mainly in and around WordPress…