TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Role of whitespaces in coding standards / style guide.

1 pointsby siphralmost 13 years ago
Just wanted to gauge how many people think whether being particular about spaces, line breaks and tabbing is a valuable addition in a coding style guide? (The opposite being leave it open for developers to make a sane decision). For people who want specifics: This question is in reference to C++. I would post my own opinion but I do not want to add bias to the discussion. Thanks.

1 comment

debaclealmost 13 years ago
I think two decisions need to be made:<p>1. Tabs vs spaces. 2. If spaces, what is the indent depth?<p>Apart from that, people should be able to do whatever the hell they want, within reason.