Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://google.github.io/styleguide/htmlcssguide.xml?showone...

How is adding a space after ":" any more consistent than having none? No space between property and value is more unique and searchable should you need to find something or do search/replace.



They are not saying that the space is more consistent than having none, just says that you always should use one style consistently (and that this specific style guide has chosen to add one space as the thing to do).




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: