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.

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 month ago* (7 children)

Yeah well you're wrong.

Braces help everyone, just like punctuation does. Try and read a Cormack McCarthy novel and the importance of punctuation to denote structure for readability will become immediately apparent.

Using whitespace as a delimiter is just nerds min maxing too far.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 5 points 1 month ago (3 children)

    Yeah well you're wrong.

    Relax, this is clearly a subjective matter.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 6 points 1 month ago (2 children)

    Lemmy is a niche of a niche. People can't relax around here.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 month ago

    A novel by definition isn't a data structure meant for serialisation. Your argument is akin to going up to a mapmaker and telling them do to their job different because van Gogh did it different and look how his art turned out!

    Braces in a data structure help nobody but computers. That's why I specified that for HUMAN READABILITY, YAML is superior to JSON, even though they easily translate between each other. Try to read a single-line, optimised for transport JSON vs try to read a neatly formatted YAML document. YAML is inherently closer to how humans perceive data.

  • source
  • parent