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

Programmer Humor

32412 readers
676 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
[–] Korne127@lemmy.world 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

[–] StarkillerX42@lemmy.ml -3 points 1 year ago (1 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.

[–] edward@lemmy.ml 0 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.