this post was submitted on 27 Sep 2026
115 points (87.1% liked)

Dull Men's Club

4772 readers
514 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
[–] HubertManne@piefed.social 13 points 3 days ago (2 children)

tabs have never been a consistant thing. its basically just a certain amount of spaces. I can totally see why tabs would not be used.

[–] andyburke@kbin.earth 16 points 3 days ago

Exactly, and by design: each user is allowed to set their own tab width and not mess everyone else up.

Like 8 space tabs? Go for it.

Want only 2-space indents? Just update your settings.

The semantic mean of a tab is "indent" - it should be up to each user what their idea of an appropriate indent width is.

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

I used to like you because of your username, but that ended today.

[–] HubertManne@piefed.social 6 points 3 days ago (1 children)
[–] toynbee@lemmy.world 1 points 3 days ago (1 children)

Surely, as a human, you can work with me and recognize that the thing about tabs is that they can be adjusted to represent whatever number of spaces you like? The thing about spaces is that two spaces will always be two spaces wide. What benefit does that provide?

[–] HubertManne@piefed.social 4 points 3 days ago (1 children)

I mean I feel your arguing against yourself here. its more precise to specify using a space or two spaces or three spaces, etc. like in python the formatting is the structure becasue it does not use brackets and such. File formats are exactly like they sound. specific formats. consistancy is paramount.

[–] toynbee@lemmy.world 5 points 3 days ago (1 children)

I acknowledge that consistency is beneficial, but Python works with both tabs and spaces. The difference, in this context, is that if you like two spaces for indentation, but I like four, your code will always have sections of two when I look at it. I can make configurations that change it and so can you, but why is that needed?

Meanwhile, in this hypothetical, if we were to use tabs, you could set your tab to represent two spaces and I could set mine to represent four and we'd both be happy with the same, unchanged code.

[–] HubertManne@piefed.social 1 points 2 days ago (1 children)

yeah I see what you are saying but again I can see why consistancy would be given priority.

[–] natecox@programming.dev 2 points 2 days ago

Consistency in how many indents used is very important.

Consistency in how many pixels that indentation takes up on the screen between two users is completely irrelevant.

Tabs give you consistency and simplicity, one tab per indent. We each decide how we want them to look on our screens and it doesnt matter if they don't look exactly the same.

What you probably mean though is alignment, which is not indentation. Tabs to indent, followed by spaces to align, gives every user the same alignment no matter what their tab-width is set to.