4 ms·
Alternative viewpoint from a popular style guide, google uses 2 spaces for C++.
by aanm1988 10y ago
Alternative viewpoint from a popular style guide, google uses 2 spaces for C++.
- terrywang 10y agoGoogle's Shell Style Guide says: Indent 2 spaces. No tabs. Use blank lines between blocks to improve readability. Indentation is two spaces. Whatever you do, don't use tabs. For existing files, stay faithful to the existing indentation. Makes sense. I don't mind stick to established style, personally I'll still prefer 4 instead of 2 for readability (easy on eyes...).
- deleted 10y ago[deleted]