• noisytoot@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Tabs work fine as long as you don’t align stuff. If you do, you have to assume a tab size and mix tabs and spaces.

    • gun@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      This is a legit observation. However, I would argue that spaces needs a set indentation width anyway, so if tabs had a set indentation width that coders are expected to maintain when aligning code, it wouldn’t make a difference. Enforcing that in practice may be different, but in theory it works.