If I had one rule for writing code it might be “never try to be clever”.