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

    I use tabs because I prefer 4-space indents and others might prefer 2-space indentation or the gross and unacceptable 6-space indentation.

    If more than one person is working on a code base, there will likely be more than one preference, and with tabs everyone gets to just set their own tab width.

    Yes, even the 3-space savages.

    • 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.