DEV Community

Jean Roger Nigoumi Guiala
Jean Roger Nigoumi Guiala

Posted on

How to keep calm while dealing with bugs?

So i want us to discuss on a subject: How do you handle stress, how to keep cool while dealing with bugs? what is your tips, what do you do when you are coding and you spend hours on a bug and start getting angry or nervous?

Personally i just leave my computer for 15Min and try to do something else not computer related. What about you?

Top comments (4)

Collapse
 
chozzz profile image
Choz

I personally always have a plastic bubble wrap in stock, then stomp or jump on it and listens to its cracking sound really relives my soul. It is not just limited to bug, I get more pumped up by seeing complicated codes without comments and twisted logic with many lines wrapped in a single function.

Collapse
 
thomasthespacefox profile image
Thomas Leathers

When I'm feeling frustrated by a bug, I take a break and come at it later. When I do come back to it, I often first read through my code like I was explaining it to someone, and see if something doesn't make sense. Doesn't work 100% of the time, but its found more than a few bugs for me.