this post was submitted on 27 Sep 2026
117 points (87.3% liked)

Dull Men's Club

4889 readers
194 users here now

An unofficial chapter of the popular Dull Men's Club.

https://dullmensclub.com/

1. Relevant commentary on your own dull life. Posts should be about your own dull, lived experience. This is our most important rule. Direct questions, random thoughts, comment baiting, advice seeking, many uses of "discuss" rarely comply with this rule.

2. Original, Fresh, Meaningful Content.

3. Avoid repetitive topics.

4. This is not a search engine
Use a search engine, a tradesperson, Reddit, friends, a specialist Facebook group, apps, Wikipedia, an AI chat, a reverse image search etc. to answer simple questions or identify objects. Also see rule 1, “comment baiting”.

There are a number of content specific communities with subject matter experts who can help you.

Some other communities to consider before posting:

5. Keep it dull. If it puts us to sleep, it’s on the right track. Examples of likely not dull: jokes, gross stuff (including toes), politics, religion, royalty, illness or injury, killing things for fun, or promotional content. Feel free to post these elsewhere.

6. No hate speech, sexism, or bullying No sexism, hate speech, degrading or excessively foul language, or other harmful language. No othering or dehumanizing of anyone or negativity towards any gender identity.

7. Proofread before posting. Use good grammar and punctuation. Avoid useless phrases. Some examples: - starting a post with "So" - starting a post with pointless phrases, like "I hope this is allowed" or “this is my first post” Only share good quality, cropped images. Do not share screenshots of images; share the original image.

.

founded 2 years ago
MODERATORS
 

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
[–] dudeface@lemmy.world 5 points 1 month ago (3 children)

I have worked on projects that get run through automatic formatting when committed to repos

Perhaps you need something like that and you can auto format the way you want on the way out

[–] fonix232@fedia.io 2 points 1 month ago (1 children)

Git has post-checkout and pre-commit hooks that can easily do this.

Means your local copy is in your style, but you commit in the repo style.

Insane thing to do, but nobody's stopping you...

[–] toynbee@lemmy.world 2 points 1 month ago* (last edited 1 month ago) (1 children)

Or people could do the logical thing and just use tabs.

edit: remove extra space.

[–] dudeface@lemmy.world 1 points 1 month ago (1 children)

My text editor will use spaces if it is in the liter file or how it auto detects in yaml files etc

The experience is no different when using tab / shift+tab

[–] toynbee@lemmy.world 1 points 1 month ago (1 children)

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 1 points 1 month 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

[–] anotherandrew@lemmy.mixdown.ca 1 points 1 month ago

Automatic code formatting, and failing a PR due to an automatic formatter is lazy and wrong. Code formatting should be a (strong) set of guidelines, but never a hard and fast rule. Every code base ends up with some section that is visually easier to understand but breaks the formatting check.