Be stupid. Don't be smart.

I think we should strive to be as stupid as possible. We should not try to be smart. I am, of course, talking about writing code.

<?php

$limit = 1;
if ($limit) {
    $me = $limit;
} else {
    $me = 0;
}
echo $me; 
  
This code is dumb and that's a good thing. Now look at this smart code.

$limit = 1; $count = (!$limit ? '0' : $limit); echo $count;

So yeah, the lesson here is be dumb. Don't be smart. If you are smart, you will write bad code and you should feel bad.