• @[email protected]
    link
    fedilink
    10
    edit-2
    1 year ago

    I normally avoid that too, I find it hurts readability more than helps, plus a proper IDE will separate it with color anyway.

    But yeah, the newline comment doesn’t apply to this.

    • z3bra
      link
      fedilink
      11 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
        11 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.