Programming brings me joy. Whenever I am struggling and making mistakes, I turn them into integers.
Ever make mistakes in life? Let’s make them integers. Yeah, they’re integers now.
Bob Ross (paraphrased)
Sometimes I struggle so much with a programming task that I lose sight of the joy. I get deep into a prideful fugue, where I set out to make the most optimal code that anyone has ever seen! Code that is better than yours! Code that would make an AI code generator just shut itself down in shame!
Comparison is the thief of joy.
Theodore Roosevelt
Practitioners of my chosen vocation sometimes imply that our art is drudgery, mundane, or bereft of joy; and it is better to hand it off to an AI code generator. That only challenges me to prove them wrong! I’ve got your joy right here! Look at my joyful code! LOOK AT IT!
So I sit down and joyfully program something optimal, fast, and tight. I disable all the error detection features of my IDE, letting the compiler/linker tell me where any errors are. I disable all the code completion features of my IDE as well, so as not to distract me from creating something truly inventive and original. Then I start to run into problems: Compiler errors; linker errors; language limitations; or I just get lost in my own prideful aspirations. The joy somehow disappears.
Just keep swimming!
Dory
But I have got to keep programming! I will get through this! I am brilliant! I will solve all these problems, if it takes me all night!
I get so lost in the process, that I lose sight of joy of programming.
Should I stay or should I go?
The Clash
When programming stops being a joy, your code starts to suffer. Your mistakes become bigger. You get into a state where everything you try simply does not work. And the solutions to your problems become more elusive.
This is when it is time to walk away. Go outside. Enjoy the view. Breathe some fresh air. Listen to the sounds around you.
This is when the way to get unstuck occurs to you. This is where you get to realize that all of your mistakes were merely learning devices. You know now what to do, and how to do it.
Isn’t it fantastic that you can change your mind and create all these happy things?
Bob Ross
Find your way back to the joy. Learn from your mistakes, and then delete them. Delete your code. Create new code. Keep it light. Keep it fun. Enjoy the lack of compiler and linker errors.
If you do too much, it’s going to lose its effectiveness.
Bob Ross
Most of all, be sure to take regular breaks. Spend some time with family. Walk your dog. Watch some videos. Listen to some music. Whatever inspires you. Whatever helps you maintain your sense of joy.
In painting, you have unlimited power. You have the ability to move mountains. You can bend rivers. But when I get home, the only thing I have power over is the garbage.
Bob Ross








