this post was submitted on 01 May 2025
1 points (100.0% liked)

Asklemmy

54691 readers
237 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Waraugh@lemmy.dbzer0.com 0 points 1 year ago (2 children)

I don’t understand why this is such a big deal for anyone. With all the UI utilities available it would be incredibly easy to have a setting to interpret 5 consecutive spaces as a tab or a tab as 5 consecutive spaces and just let whoever prefers what to choose how they are going to interface with the code. Hell, you could even make it so 5 is the default and have custom consecutive values as an advanced option in the interpreter for edge cases. So many incredibly more challenging issues have been resolved in IDEs, I just don’t get it.

[–] mindbleach@sh.itjust.works 0 points 1 year ago (1 children)

Reading a tab as however many spaces is trivial, and the point of tabs.

Reading however many spaces as a tab is a gross hack that has to be dialed-in for whatever standard the document chose.

Just use tabs in the first place. God damn. That's what they're for.

[–] Waraugh@lemmy.dbzer0.com 0 points 1 year ago* (last edited 1 year ago)

I’m on team tab 100% I guess I was saying if someone felt they had to use spaces then they shouldn’t handicap everyone else because of their choice and an interpreter could normalize their code.

[–] blackstrat@lemmy.fwgx.uk 0 points 1 year ago

5!?!? Are you trying to get yourself sectioned?