• z3bra@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    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).

    • Nate Cox
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      The emacs wiki agrees and has the correct take on this: https://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.