stephens_coding_standards
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
stephens_coding_standards [2013/04/16 21:28] – stephen | stephens_coding_standards [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <term YAGNI> | ||
- | |||
====== Stephen' | ====== Stephen' | ||
===== Commented Code ===== | ===== Commented Code ===== | ||
- | No commented code, unless there is a comment clearly explaining under what circumstances the code should be uncommented. The YAGNI principle should be kept in mind. If there are no circumstances in which the code should be uncommented, | + | No commented code, unless there is a comment clearly explaining under what circumstances the code should be uncommented. The < |
**Justification: | **Justification: | ||
Line 68: | Line 66: | ||
To get a visual margin guide in Visual Studio 2010, ensure the Productivity Power Tools extension is installed, right click the 130th column and select Guidelines -> Add Guidelines from the context menu. | To get a visual margin guide in Visual Studio 2010, ensure the Productivity Power Tools extension is installed, right click the 130th column and select Guidelines -> Add Guidelines from the context menu. | ||
+ | |||
+ | ===== Blank Lines ===== | ||
+ | |||
+ | Code shall not contain more than one blank line in a row. There' | ||
===== Unnecessary Parentheses ===== | ===== Unnecessary Parentheses ===== | ||
Line 178: | Line 180: | ||
===== Web.config ===== | ===== Web.config ===== | ||
- | The ''< | + | The ''< |
{{tag> | {{tag> | ||
stephens_coding_standards.1366147727.txt.gz · Last modified: 2017/01/01 19:53 (external edit)