July 26, 2022 at 12:33 AM I like the frustration. I use it as some kind of motivator. If I am faced with a challenge, then I want to solve it as fast as I can and I see it as some kind of game. When I get truly stuck, I will either go to another library that has the bug fixed, go to a different programming project, try to help someone with their bugs, or try to explain the way the programme works to myself in my head.
Daily exercise is a must for everyone, but it's a vital thing to be doing if you're a programmer since you are going to be confined to a desk most of the time. It also gives you the dopamine to allow your brain to function optimally, which in turn will allow you to not even write code that is bug-prone.