A. Nam ing Parts & Pairs
A.1 Common Adjective Pairs A.2 Common Property Prefixes
|
Old…/New… |
|
Allow… (Allows…) |
|
Source…/Destination… |
|
Can… |
|
Source…/Target… |
|
Contains… |
|
First…/Next…/Current…/Previous…/Last… |
|
Has… |
|
Min…/Max… |
|
Is… |
|
|
|
Use… (Uses…) |
A.3 Common Verb Pa irs
|
Add…/Remove… |
Open…/Close… |
|
Insert…/Delete… |
Create…/Destroy… |
|
Increment/…Decrement… |
Acquire…/Release… |
|
Lock…/Unlock… |
Up…/Down… |
|
Begin…/End… |
Show…/Hide… |
|
Fetch…/Store… |
Start…/Stop… |
|
To…/From… (Convert implied) |
|
A.4 Common Qualifiers Suffixes
|
…Avg |
…Limit |
|
…Count |
…Ref |
|
…Entry |
…Sum |
|
…Index |
…Total |
Note: Avoid using Num because of semantics; use Index and Count instead. Also, avoid using Temp; take the time to describe what the object really is (e.g. use SwapValue instead of TempValue).
참고사이트 : http://www.notsotrivial.net/blog/post/2008/12/Holiday-Goodie-Bag-Free-C-and-VB-Coding-Standards-Reference-Documents.aspx
Reference coding standards :
'유익한 정보' 카테고리의 다른 글
| 남아공 월드컵 경기 일정표 (0) | 2010/06/11 |
|---|---|
| 택배 조회 프로그램을 만들기 위한 택배조회 URL 모음 (3) | 2010/04/20 |
| C# 코딩 규칙 및 이름 명명법 (Coding Rule & Naming) (0) | 2010/04/20 |
| YouTube(유투브) 버퍼링 속도 빠르게 개선하는 방법 (3) | 2009/12/25 |
| fatal error C1083: Cannot open include file: 'gl\glut.h' 해결 방안 (0) | 2009/12/04 |
| 한글 2007에서 탭 크기(사이즈) 변경(조절)하기 (0) | 2009/11/26 |


CSharp Coding Standards.doc



