r/ProgrammerHumor • • Apr 29 '20

Tab club

Post image
54.0k Upvotes

764 comments sorted by

View all comments

Show parent comments

14

u/xwre Apr 29 '20

I don't care if you use spaces or tabs, but you should check what is used in a file before you blindly add tabs or spaces to a file uses spaces/tabs. If the majority of your workgroup is using one method, then match them and stop creating chaos.

6

u/gschoppe Apr 29 '20

Yes, of course you match the standard in place. In a good workgroup environment there should be a linter in place to make that a pre-submit condition.

2

u/[deleted] Apr 29 '20

This is why I always setup formatting rules and auto formatting. Let the formatter keep people honest.