Tabs Or Spaces
Tabs are better imo.
Tabs or spaces. Mixing tabs and spaces on the other hand implies using tabs and spaces within the same document and indeed sometimes on the same line. So you say people shouldn t fight about tabs spaces but then just show a solution that makes everyone on the same team use the same method. A tab could be a different number of columns depending on your environment but a space is always one column.
If false all comments are elided from the output. The fact that you can configure your editor to match the amount of spaces you want each tab to represent makes them much better. Let every client defines how it wants to checkout the file and view it locally in his own editor and always commit after replacing all the spaces.
6 in a file with tab one can know which character is used for indentation and which one for string spacing. Tabs true indent with tabs. Add to that that i can just tab once and get four spaces.
I would reply both because i use tabs for some programming languages and spaces for other languages but never both in the same document. It uses tabs width 8 for indentation and blanks for alignment. Not need to agree how many tabs to use.
In terms of how many spaces or tabs constitutes indentation it s more important to be consistent throughout your code than to use any specific tab stop value. Tabwidth 8 tab width in spaces. Tabs 2 spaces 3 spaces 4 spaces 8 spaces require an analysis for a new language check out the author review the source code.
Why can t it be more similar to the way git handles crlf. If false spaces are used instead. Both is not the same as mixed.