It is SO STUPID that spaces are widely preferred for indentation in code.

For the past, I don’t know, two hours I’ve been trying to fix YAML formatting issues that could have been fixed without any human intervention if only tabs were used. (It’s a big file, hence the duration.) (I know YAML doesn’t support tabs. That’s kind of my point.)

I even reluctantly asked Gemini (forced upon me by work; I was hoping it would change my mind in this case) why anyone would prefer spaces. It said the same irrelevant thing most people say: because some tools don’t support tabs properly.

Know what that sounds like to me? A problem with the fucking tool.

I don’t know if this is the right place to post this, but I can’t think of a better option.

  • toynbee@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    9 days ago

    The experience of entering the text isn’t the part to which I object.

    Claiming that spaces as indentation are functionally equivalent to tabs is what inspires my objection.

    • dudeface@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      9 days ago

      I don’t think you gave an example in your original post as how tabs would have solved your problem, and dealing with yaml a lot myself I can’t imagine exactly what may have happened besides incorrect indentation

      I get rich errors with yaml language server and I configure it with spec files for kubernetes manifests so it tells me exactly where my issues are