this post was submitted on 16 Sep 2024
61 points (96.9% liked)

Asklemmy

44145 readers
1330 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_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 3 months ago (2 children)
[–] [email protected] 4 points 3 months ago (2 children)

Insisting that all tabs should be the same length as eight spaces.

Open up notepad, and compare. Eight spaces = 1 tab.

[–] Feathercrown 5 points 3 months ago (1 children)

8 space tabs is incredibly stupid

[–] [email protected] 0 points 3 months ago (1 children)

And yet, that is its default definition regardless of operating system.

That’s also why almost every IDE out there has tabs auto-set to 4 spaces, and/or gives the user to change it away from 8 spaces.

[–] Feathercrown 2 points 3 months ago

And yet, that is its default definition regardless of operating system.

Defined by what? When does the os, rather than a program, determine how many spaces a tab is?

[–] [email protected] 4 points 3 months ago (1 children)

Its funny that the argument against tabs is purely because someone once opened a file in a shitty editor.

[–] [email protected] 1 points 3 months ago (1 children)

I am not arguing against tabs. I actually find them a lot cleaner than spaces. But the default definition of a tab has it being eight spaces long, regardless of operating system.

It’s just that “tab = 4 spaces” is either the default in a number of IDEs, and in those which it isn’t, almost everyone changes it to that anyhow.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

I didn't think that you were. I was criticising Notepad as a really shitty "editor".

I personally set tabs to 2 spaces, but then thats the beauty of tabs over spaces. You can have two or four, or even eight if you hate yourself without impacting anyone else.

People who demand spaces are Republicans, they want to force their 2/4/8 space rule on you even if it is inconsequential.

[–] [email protected] 2 points 3 months ago

White colored words that insult the reader.