Comment on Tabs are objectively better than spaces - gomakethings.com
realharo@lemm.ee 1 year agoI normally avoid that too, I find it hurts readability more than helps, plus a proper IDE will separate it by color anyway.
Comment on Tabs are objectively better than spaces - gomakethings.com
realharo@lemm.ee 1 year agoI normally avoid that too, I find it hurts readability more than helps, plus a proper IDE will separate it by color anyway.
wgs@lemmy.sdf.org 1 year ago
To each their own indeed. But my rule of thumb is: only use tabs when there’s no other character before it (aka, start of line).
natecox@programming.dev 1 year ago
The emacs wiki agrees and has the correct take on this: www.emacswiki.org/emacs/SmartTabs
It seems like this basic guideline, tabs to indent and spaces to align, solves the problem for everyone. It doesn’t matter what your tab width is, it’ll look “right” regardless.