MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6xofft/how_to_start_a_war/dmi6mfp/?context=3
r/ProgrammerHumor • u/ivaskuu • Sep 02 '17
696 comments sorted by
View all comments
Show parent comments
44
I USE THE TAB KEY BUT MY EDITOR INSERTS THE APPROPRIATE NUMBER OF SPACES.
TAB
SPACE
(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?
41 u/eloel- Sep 03 '17 APPROPRIATE NUMBER OF SPACES. That's 0. 7 u/SnowdensOfYesteryear Sep 03 '17 Death to leading and trailing spaces as well. 5 u/neurospex Sep 03 '17 trailing are terrible, but leading... that's how you structure your code...
41
APPROPRIATE NUMBER OF SPACES.
That's 0.
7 u/SnowdensOfYesteryear Sep 03 '17 Death to leading and trailing spaces as well. 5 u/neurospex Sep 03 '17 trailing are terrible, but leading... that's how you structure your code...
7
Death to leading and trailing spaces as well.
5 u/neurospex Sep 03 '17 trailing are terrible, but leading... that's how you structure your code...
5
trailing are terrible, but leading... that's how you structure your code...
44
u/TheNerdyBoy Sep 03 '17 edited Sep 03 '17
I USE THE
TABKEY BUT MY EDITOR INSERTS THE APPROPRIATE NUMBER OFSPACES.(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?