At my first (real) job my boss, Bruce, had a little ritual which I thought funny at the time.
After editing his code for a little while, he would kick off a compile & test cycle. While this was running, he’d wave his twinkling fingers over the keyboard and solemnly chant
Tuuuuuurn toooooooo shiiiiiiiiit.
And yea verily, the code would turn to shit (not compile, fail tests, crash the machine, etc).
This magic spell is so effective I’ve found it work on not just my code, but all sorts of things:
- Blog posts, and other writings
- New Year resolutions
YMMV but this spell’s a keeper!