• Waraugh@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    20 days ago

    I don’t understand why this is such a big deal for anyone. With all the UI utilities available it would be incredibly easy to have a setting to interpret 5 consecutive spaces as a tab or a tab as 5 consecutive spaces and just let whoever prefers what to choose how they are going to interface with the code. Hell, you could even make it so 5 is the default and have custom consecutive values as an advanced option in the interpreter for edge cases. So many incredibly more challenging issues have been resolved in IDEs, I just don’t get it.

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      19 days ago

      Reading a tab as however many spaces is trivial, and the point of tabs.

      Reading however many spaces as a tab is a gross hack that has to be dialed-in for whatever standard the document chose.

      Just use tabs in the first place. God damn. That’s what they’re for.

      • Waraugh@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        19 days ago

        I’m on team tab 100% I guess I was saying if someone felt they had to use spaces then they shouldn’t handicap everyone else because of their choice and an interpreter could normalize their code.