Hacker News new | past | comments | ask | show | jobs | submit login

Google'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...).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: