this post was submitted on 17 Jun 2023
27 points (100.0% liked)

Programmer Humor

32396 readers
688 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (1 children)

Someone here made a longer explanation in a blog post why it's that way and what this corresponds to: https://evelinag.com/blog/2017/06-20-stackoverflow-tabs-spaces-and-salary/index.html

[–] [email protected] -4 points 1 year ago (2 children)

So people who contribute to open source use spaces more.Thiss is probably because in a collaborative environment, you can't guarantee how tabs will look on all systems, and it may look horribly on some. An open source project is most likely to enforce a standard, and that standard kind of has to be spaces.

It makes me wonder what portion of the stack overflow survey is from people who aren't working on collaborative projects at work.

[–] [email protected] 1 points 1 year ago

Isn't that exactly the point of using tabs?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

But with tabs each contributor is free to choose how the indent looks. If it looks horrible on some system, that’s a configuration issue.