As software developers we are geard toward solving problems. I personally love putting the puzzle together and seeing things working as they should. As simple as it sounds the fact that we can write one line of code and render an image to the browser is just cool if you think about it. The reason it’s cool is, it works. I know what the code is going to do when I write it and there is always something satisfying about that.
If you have been in the development field for a while then you, like all of use, you surly have run into the issue at the end of the day that you can’t make work, get the defect fixed or whatever the case may be. Either it is lack of experience with the problem at hand or the stress of meeting a deadline just gets to you, or usually it’s a combination of both.
No matter how may times I run into this type of situation I always seem to forget what gets me through it 95% of the time. Settle down, take a deep breath and walk away for a while. Yes the problem is there and it will not magically fix itself but sometimes your brain needs time to work. It’s as simple as that.
More often than not I will get off work, sit on my front porch and enjoy a beer or glass of wine. If you love software development as much as I do, my brain is constantly working and thinking about it. When I have an issue that I can’t figure out I tend to walk through the code in my brain line by line without even really noticing that I am doing it. I have even had dreams where I see the solution.
In my opinion when we relax this is when the power of the human brain kind of takes over. We sometimes have to get out of our own way and let our natural problem solving self figure out, and complete the problem on it’s own. I encourage everyone, not just developers. If you have a problem to solve and the stress or deadline is getting to you, “walk away”. I promise that more often than not your brian just needs some time to process.