Yesterday, I shared some spicy takes. A few were particularly controversial—most notably, that I correct Gif the correct way (with a soft G)—but I also got a lot of emails asking me to elaborate on a few of them.
Today, I wanted to talk about how tabs are objectively better than spaces. This won’t take long.
Tabs let you define how big you want each indent to be, and spaces do not.
Vim has it, even Nano has it. It’s one setting away, set it once and forget it. If you use throwaway containers it would be hassle but I don’t understand why you would need to view code inside the container in that case.
That’s all well and good if everyone uses editors you can configure to a certain standard all the time. Then tabs all the way.
Unfortunately that’s not reality for everyone.
Honestly, what fucking editor are you using that doesn’t allow you to configure tab length? Wordpad?
I’m hopping between shells using whatever is installed.
Vim has it, even Nano has it. It’s one setting away, set it once and forget it. If you use throwaway containers it would be hassle but I don’t understand why you would need to view code inside the container in that case.
Everyone should use a better editor.
https://editorconfig.org/ 😜