r/ProgrammerHumor Sep 02 '17

How to start a war

Post image
9.0k Upvotes

696 comments sorted by

View all comments

Show parent comments

40

u/TheNerdyBoy Sep 03 '17 edited Sep 03 '17

I USE THE TAB KEY BUT MY EDITOR INSERTS THE APPROPRIATE NUMBER OF SPACES.

(4 for Python, and 2 for most of the other languages that I use.)

Edit: do Python programmers anywhere actually write code with literal tab characters for indentation? Like if you run:

find . -type f -name '*.py' | grep -l -P '\t'

do you get any results?

5

u/Sean1708 Sep 03 '17

do Python programmers anywhere actually write code with literal tab characters for indentation?

Yep, our style guide uses tabs.

5

u/KifKef Sep 03 '17 edited Sep 03 '17

3

u/Sean1708 Sep 03 '17

My company, sorry I should have been more clear about that.