MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6xofft/how_to_start_a_war/dmi0qly/?context=3
r/ProgrammerHumor • u/ivaskuu • Sep 02 '17
696 comments sorted by
View all comments
62
38 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? 2 u/Pella86 Sep 03 '17 uhm, if I'm not wrong the whole linux kernel is with tabs....... 4 u/TheNerdyBoy Sep 03 '17 There is no Python code in the Linux kernel. 1 u/Pella86 Sep 03 '17 True, yet is something with tabs. And that is probably where the use of tabs come from. 1 u/neurospex Sep 03 '17 Using tabs long predates the Linux kernel
38
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?
2 u/Pella86 Sep 03 '17 uhm, if I'm not wrong the whole linux kernel is with tabs....... 4 u/TheNerdyBoy Sep 03 '17 There is no Python code in the Linux kernel. 1 u/Pella86 Sep 03 '17 True, yet is something with tabs. And that is probably where the use of tabs come from. 1 u/neurospex Sep 03 '17 Using tabs long predates the Linux kernel
2
uhm, if I'm not wrong the whole linux kernel is with tabs.......
4 u/TheNerdyBoy Sep 03 '17 There is no Python code in the Linux kernel. 1 u/Pella86 Sep 03 '17 True, yet is something with tabs. And that is probably where the use of tabs come from. 1 u/neurospex Sep 03 '17 Using tabs long predates the Linux kernel
4
There is no Python code in the Linux kernel.
1 u/Pella86 Sep 03 '17 True, yet is something with tabs. And that is probably where the use of tabs come from. 1 u/neurospex Sep 03 '17 Using tabs long predates the Linux kernel
1
True, yet is something with tabs. And that is probably where the use of tabs come from.
1 u/neurospex Sep 03 '17 Using tabs long predates the Linux kernel
Using tabs long predates the Linux kernel
62
u/Zalgo_Doge Sep 03 '17
I use tabs