Skip to main content


Showing posts from May, 2018

The medical reason I use tabs instead of spaces

Oh the old war between tabs and spaces. The battles that have been fought and won and lost. The friendships born and destroyed. The style guides that have been created that demand one or the other. The insane auto-indentation calculation systems that mix tabs and spaces in the same document. The difference in pay that can be achieved...and then debunked . But enough waxing poetic. I used to be a spaces guy for many, many, many years and even went so far as to tout "two-space tabs" as "the best indentation format". All of my code consistently used spaces and I loved it. But then I switched to tabs and haven't looked back. There's a simple reason to use tabs that universally beats out all other reasons: Carpal Tunnel Syndrome Years ago, I got carpal tunnel not once, but twice in a fairly short period of intense coding. I made the realization that I needed to cut back the number of times I was hitting the spacebar. So even "two-space tabs