r/ProgrammerHumor May 27 '22

Meme Welcome to hassle free coding

Post image
2.3k Upvotes

305 comments sorted by

View all comments

76

u/O_to_the_o May 27 '22

Inconsistent use of tabs and spaces ....

19

u/ffs_give_me_name May 27 '22

Tabs > spaces

10

u/[deleted] May 27 '22

I usually just press enter and let my IDE format for me, but if I’m manually inputting spaces, I always use tab.

10

u/Mahrkeenerh May 27 '22

and your ide converts it to spaces. The question is not what you press (did you think someone is out there pushing space 4 times?), it's what the editor converts your tab to.

5

u/engelthehyp May 28 '22

I press tab, and always make sure my IDE uses tabs. It makes it only one character to move instead of 4 when navigating indentation. Besides, I can always change the size of tabs (although I don't). For spaces it's not so easy.

3

u/martmists May 28 '22

I hope you don't actively publish your code to GitHub which uses width 8 for tabs and makes code unreadable as result

4

u/[deleted] May 28 '22

?ts=4 thank me later.

1

u/Dantzig May 28 '22

Yea and then pep8 came☹️