How to maintain good health as a programmer

It's important to improve your skills, but you can't neglect your health as a programmer. Here are four, very easy steps you can take to maintain your health at your desk job.
TF2 medic (credit to
I am fully charged

Protect your eyes

You can read the full American Optometric Association paper, or you can simply wear eye protection. Bottom line, is UV light harms your eyes. That must be why I really enjoy looking at deep-blue Christmas lights... 
I would recommend any pair of glasses while on your computer that have blue-light reflective coating, or a blue light filter. I personally have a pair of these, and I immediately noticed a difference at the end of the day - my eyes didn't feel sore or tired (that is what long exposure to UV light does to your eyes).
A receipt from
Worth the investment
You can also consider monitors that have built-in blue light filters, but they tend to be more on the expensive side of things.

Follow the 20-20-20 rule

Every 20 minutes, look 20 feet away for 20 seconds; it's what my optometrist tells me very visit. Why? Focusing for too long of periods of time can cause problems for your eyes. I could guess that it would cause astigmatisms, but I'm no doctor. 
The best way I have found to implement this practice is by using a Pomodoro timer. A Pomodoro timer uses the time-management technique, aptly named Pomodoro technique, to help us focus our work in short, focused increments - around 25 minutes, with a few minutes of break time. Simply pop-open the page and start the timer, when it stops, take a 20 second break, and continue along your merry way.

Monitor position

Besides staying comfortable, it really  makes a difference if you don't have your setup in an optimal position. I'm not going to go through all the details here, as there is plenty of information online.
Books under a monitor (credit to
Put all those old reference books to good use!


If you are lucky enough that you have treadmill desks, I would encourage you to walk as much as you can. If you are like the rest of us, you aren't that lucky. Don't let your job sacrifice your health; take a few walks during the day, park far from work, or take the long way to the bathroom. Don't become a [sitting] potato!
What gets me more excited than anything? Performance.

Its always exciting to me to perform at max efficiency, because why should you be performing any less? What's even better than efficiency than setting it and forgetting it? Nothing. Fact of the matter is while you may not be caring about efficiency, you should - because your business does. Lack of efficiency costs dollars and time.

You aren't off the hook even if you are doing programming as a hobby or are self-employed.

We are going to explore how to minify your .cshtml files in a .NET Core web application, and why you should care to do so.

Why you should careDo your reading;read this too.

Time is a limited resource, and we are tending to be more impatient nowadays, these people think so too. The bottom line is that if you want a chance for your web application to be successful, you can't skimp on quality and hope that you will be a success. Your applications need to deliver quality, and an "easy" way to conve…
Incorporating GDPR compliance is something that takes time, effort and thorough understanding of the law. In this post, we are going to show you how to create a stop-gap in your .NET Core web applications until you are able to invest time and resources into understanding your application's structure, usage of personal data, and restructuring it to conform to the GDPR. We will make a sample ASP.NET Core web application to demonstrate how to put a GDPR compliance stop-gap in place.

Why should you care about GDPR? Before we get into the implementation, you should first understand roughly what the GDPR is and why you need to care about it. Put simply, the GDPR are a set of regulations that give consumers rights and protections to their personal information. In order to do business with consumers in the EU, or offer any service that uses consumer data of EU residents, you must be GDPR compliant. Failure to compliant will result in fines.

Blocking EU users To become GDPR "compliant…

I'll be the first to admit, programming was never something I found easy. My very first experience in programming was when I got this book at the ripe age of 11. I liked playing my Nintendo 64 and wanted to make games on my own.

My ability was far under sub-par. Somewhere in these forums I wrote a post asking for help trying to understand a while loop - needless to say I got defensive because I felt I was being talked down by people smarter than me, telling me that I should start and learn more simpler things first (than dive right into making a PC game).

The truth was, I was being too ambitious. BUT - TwisterMan was not going to code itself! (All drawn in glorious Microsoft Paint :)).

Watch out for spikeo!

And whoever this boss was called...

The point I'm trying to get across is, I was bad at programming (and not that good at design either - ha!). I didn't know how to think like a programmer, and I was also struggling to learn because I did not have any fundamentals down. Fo…