this post was submitted on 21 Oct 2025
78 points (100.0% liked)

Casual Conversation

1481 readers
165 users here now

Share a story, ask a question, or start a conversation about (almost) anything you desire. Maybe you'll make some friends in the process.


RULES

  1. Be respectful: no harassment, hate speech, bigotry, and/or trolling.
  2. Encourage conversation in your OP. This means including heavily implicative subject matter when you can and also engaging in your thread when possible.
  3. Avoid controversial topics (e.g. politics or societal debates).
  4. Stay calm: Don’t post angry or to vent or complain. We are a place where everyone can forget about their everyday or not so everyday worries for a moment. Venting, complaining, or posting from a place of anger or resentment doesn't fit the atmosphere we try to foster at all. Feel free to post those on !goodoffmychest@lemmy.world
  5. Keep it clean and SFW
  6. No solicitation such as ads, promotional content, spam, surveys etc.

Casual conversation communities:

Related discussion-focused communities

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Nemo@slrpnk.net 28 points 2 weeks ago (7 children)

Is a tab four spaces or two?

[–] mrcleanup@lemmy.world 21 points 2 weeks ago (1 children)

A tab is not made of spaces, it goes to the next tab stop, which is as big as you set it to be.

[–] Nemo@slrpnk.net 7 points 2 weeks ago (1 children)

This isn't your argument, neighbor.

[–] mrcleanup@lemmy.world 5 points 2 weeks ago

I'll just wish you good day then.

[–] m_f@discuss.online 17 points 2 weeks ago (3 children)

Let's all compromise on three spaces

[–] Nemo@slrpnk.net 14 points 2 weeks ago

recordscratch.wav

[–] echindod@programming.dev 8 points 2 weeks ago

Ouch. This hurts. This hurts so much.

[–] owenfromcanada@lemmy.ca 8 points 2 weeks ago

Can we make it π spaces? It's such a nice number.

[–] neidu3@sh.itjust.works 13 points 2 weeks ago (1 children)

Neither, it's an actual tab character

[–] stoly@lemmy.world 4 points 2 weeks ago

This is the correct answer. Also it's going to depend on whether your environment (i.e. is it an actual word processor vs. a text editor?) allows for margins and tabs to be set.

[–] SamuraiBeandog@lemmy.world 8 points 2 weeks ago* (last edited 2 weeks ago) (2 children)
[–] owenfromcanada@lemmy.ca 9 points 2 weeks ago

Hi, it's your friendly nano user here to remind you that it's actually 8.

[–] Nemo@slrpnk.net 7 points 2 weeks ago (1 children)
[–] SamuraiBeandog@lemmy.world 5 points 2 weeks ago

No it's not!

Wait...

[–] owenfromcanada@lemmy.ca 4 points 2 weeks ago (1 children)
[–] Nemo@slrpnk.net 5 points 2 weeks ago (2 children)

IDEs are for script kiddies, real programmers use vim.

[–] owenfromcanada@lemmy.ca 6 points 2 weeks ago (1 children)

Nah, real programmers use echo, cat, and pipes

[–] neidu3@sh.itjust.works 6 points 2 weeks ago* (last edited 2 weeks ago)

Nah, real programmers use a magnetized needle and a steady hand

[–] ieGod@lemmy.zip 1 points 2 weeks ago

Vim is ok, useful when you don't have an ide handy, but making a complex multiplatform distributed system across multiple teams and repos in such a limited application is just bonkers. Downright lunacy.

[–] rumschlumpel@feddit.org 4 points 2 weeks ago* (last edited 2 weeks ago)

Behold: HUML, a markup language so opinionated that it forces its users to use an indentation of exactly 2 spaces https://huml.io/specifications/v0-1-0/#indentation

Honestly I like the rest of the specification and being opinionated definitely has its advantages, but I hate using 2 spaces for indentation. Maybe the people who were using tabs for indentation were actually on to something ...

[–] owenfromcanada@lemmy.ca 3 points 2 weeks ago

Hot take: it depends on the language.

  • Markup? 2 spaces
  • Procedural? 4 spaces
  • Natural? 8 spaces