• frazorth@feddit.uk
    link
    fedilink
    arrow-up
    4
    ·
    2 个月前

    Its funny that the argument against tabs is purely because someone once opened a file in a shitty editor.

    • rekabis@lemmy.ca
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      2 个月前

      I am not arguing against tabs. I actually find them a lot cleaner than spaces. But the default definition of a tab has it being eight spaces long, regardless of operating system.

      It’s just that “tab = 4 spaces” is either the default in a number of IDEs, and in those which it isn’t, almost everyone changes it to that anyhow.

      • frazorth@feddit.uk
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 个月前

        I didn’t think that you were. I was criticising Notepad as a really shitty “editor”.

        I personally set tabs to 2 spaces, but then thats the beauty of tabs over spaces. You can have two or four, or even eight if you hate yourself without impacting anyone else.

        People who demand spaces are Republicans, they want to force their 2/4/8 space rule on you even if it is inconsequential.