Your brain can fix bugs while you sleep.

Written by gigacore | Published 2016/11/18
Tech Story Tags: sleep | health | productivity | web-development | software-development

TLDRvia the TL;DR App

Photo courtesy: lucid.me

Sometimes you spend hours or if not the entire day trying to find a solution that can fix a bug in your code, but might end up in causing a regression or not finding any solution at all. The same applies if you are trying to refactor your code or maybe add new features that might not work well with your existing approach. Needless to say, that is extremely unproductive.

This doesn’t mean you are not capable of finding a solution, but would mean that you lack enough sleep. According to National Center for Biotechnology¹, sleep deprivation impairs attention and working memory and it also affects other functions, such as long-term memory and decision-making. This impacts your ability to solve problems. Your brain needs rest. At times, going to bed and waking up with fresh mind in the morning can do miracles in getting those daunting bugs fixed.

Don’t burn out yourself, take enough breaks, get enough sleep and exercise every morning. You are a human being, you get exhausted, your brain seizes to function at it’s maximum potential when you are drained out.

Next time you find yourself burning the midnight oil with no sign of positive outcome, just hit the bed!

  1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2656292/pdf/NDT-3-553.pdf

Written by gigacore | UI Architect at Publicis Sapient. Loves building experiences, improving productivity, sharing ideas.
Published by HackerNoon on 2016/11/18