Live data from Hacker News

Google Coder Analyzes a Billion Files to Find a Winner in Tabs vs. Spaces Debate

gizmodo.com

21–22 of 22 posts

Re: Google Coder Analyzes a Billion Files to Find a Winner in Tabs vs. Spaces Debate

#21

C++ Developer - must admit I used to use spaces, then switched to tabs. This was for several reasons - firstly - makefiles will not be parsed correctly if you start using spaces rather than tabs, so it's a good habit to get into to use them elsewhere to save headaches. Secondly, almost every developer I've met will want to use a different amount of spaces for indentation. When using tabs they can set whatever they wa…

This is 2016 calling, we have much better build tools than Gnu Make. Let's start with pretty popular Cmake, which has no problems with whitespace.

Re: Google Coder Analyzes a Billion Files to Find a Winner in Tabs vs. Spaces Debate

#22
post #10

The only reason I accept why spaces should be used is that people are unable to configure their editors apparently.

Tabs get munged by quite a few tools, including clipboard managers, webpage forms and more...
Post reply on HN