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.


No.
Wanting two different white space characters that are indistinguishable from each other, when a single one will do, is stupid.
Also, YAML is stupid, as is every language that chooses to use whitespace as a delimiter (fight me python nerds).
I agree on indentation as delimiter being stupid for a PROGRAMMING language, but for markup/data serialisation languages that are primarily meant to be human readable, it is a great solution.
Syntax can be your delimiter, and white space done how the human sees fit. That’s the proper solution, imo
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.
Relax, this is clearly a subjective matter.
Lemmy is a niche of a niche. People can’t relax around here.
Some people are just so incredibly “AKQCSHUALLY” about certain things. And they don’t even see that there’s no right or wrong, it’s just your use case vs mine. Narrow-minded af.
PEOPLE CAN’T RELAX???
I don’t know, I’ve never found Python structure remotely hard to read
Except when some chucklehead used two character intents. This is why tabs are superior; if you want to be squinty, be squinty. The rest of us get 8 char intents that make the logic easy to see.
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.
I agree having two is stupid. That’s why it should be a tab instead of multiple spaces.
The indentation doesn’t even get parsed. It’s just there for human readability.
Haaave you met python?
With tab you end up with two. Unless you write if<tab>(foo<tab>==<tab>bar)<tab>{ <tab>…
If it’s just there for readability then don’t have two characters that can be interpreted differently.
Your text editor / viewer is capable of entering two spaces when you hit tab.
Well, I haven’t used this account in almost a year, but apparently when I did I tagged you as “Epic apologist.”
So an incorrect take from you makes sense!
I do agree that YAML is stupid, though.
edit: Apparently I have used this account more recently than a year ago, but only sparsely. I apologize for misleading you.
Lmfao, imagine bragging that you need to put people into buckets so you can dismiss them.
Learn how to use your brain and respond to the argument at hand.
Hah, all right, this could be fun.
At no point did I brag. Presenting facts about myself as bragging says more about you than it does me. You complaining about that, doubly so.
I’m not putting you in a bucket so far as I can tell. I used a function of my Lemmy client to identify you. Epic is a bad storefront and Tim Sweeney seems to be a bad person; certainly he was actively anti Linux until it impacted his bottom line. I disapprove of that because I support Linux and also think morals should account for things other than, well, accounts.
It’s possible I’m wrong, in which case I welcome debate, but I didn’t get here without using my brain. Also, I was trying to be funny with my initial response; if you used your brain, you would recognize that.
Ultimately, I don’t like you. Not because I disagree with you - I can handle that - but because you’re rude. Which I can also handle, but still don’t like.
The irony of someone labelling people and then bringing up those labels in unrelated conversations to dismiss them, and yet still having the audacity to call others “rude”.
Look in a mirror bud.
Is your entire objection to me that I tagged you? You didn’t address any of my other points. I’m willing to discard your Epic affinity if you want to talk about anything else.
You made no points about tabs and spaces, you brought up an unrelated conversation, then somehow convinced yourself I was the dick in the situation.
Well, fair enough about me not referencing the original point. I was quite mad (for largely unrelated reasons) when I made the original post, then when you responded, I was trying to be funny rather than helpful.
I did reference an Epic conversation. Perhaps that was unhelpful. I didn’t expect the conversation to gain sufficient length that it would matter. I apologize, I was working more towards humorous than helpful.
However, I made all of my points about tabs being superior in my original post or other comments. I wasn’t trying to obfuscate things in further comments.
Maybe I should slap a label on you based on your behaviour in this one conversation and dismiss everything you have to say forever because of that, that seem reasonable to you?
The labelling feature existing in the client doesn’t mean you have to use it. It’s a fundamentally toxic form of interaction that people don’t do irl for a reason. People can be in bad moods, people can change, and people can be convinced and have their thoughts and beliefs shift. Slapping a label on them and ignoring what they have to say is intellectual laziness that just creates an even stricter filter bubble around you.
Based on this conversation, I’ve added a tag, “space lover”.
It’s too late for you, I have already won. Also, username checks out.
The username is coincidentally entirely unrelated … I hadn’t even noticed the relevance lol
Python nerd here, willing to fight.
Easy language, simple script, faster learning, faster writing, better person, superior language.
Also currently trying to write english as concise as Python to ration my brainpower, you can thank my huge brain later when I do epic things like saving the world with whitespace delimiters.
https://xkcd.com/thing-explainer/
❤️ Python! But letting me program is stupid and a bad idea. So it works. Deal with it 🤣