Most developers forget that programming it's a cognitive sport, just like athletes pushing their bodies, you are pushing your brain. So the more brain power you can add to the table, the better you'll perform. Here are four things that most developers don't do that can put your brain on beast mode. Number one, get enough sleep, 7 to 9 hours every night ideally. I've been tracking my performance for years now, and I'm telling you that sleep is the most important factor to mental clarity, which is key to your performance as a developer.
So cut on that caffeine. Number two, obvious, eat healthy. That means tons of vegetables, protein, and fatty acids. Number three, exercise. Every day, go for a walk or stand up from your desk. You are already spending way too much time sitting in front of a computer. And finally, number four, go out and socialize. Catch up with some fans, it is proven to increase cognitive functions. Funny enough, this is exactly what most developers don't do.
They work long nights, they eat all kind of trash, they don't exercise daily, and they don't socialize at all. No wonder the tech industry has such a high burnout rate. If you want to become a better developer, take care of yourself and love your brain.