Five guidelines using for Code
- Names representing types must be nouns and written in mixed case starting with upper case. Line, FilePrefix
- Variable names must be in mixed case starting with lower case. line, filePrefix
- Names representing constants must be all uppercase using underscore to separate words. MAX_ITERATIONS,COLOR_RED
- Names representing methods and functions should be verbs and written in mixed case starting with lower case.
getName(),
computeTotalWidth() - Names representing template types in C++ should be a single uppercase letter.
template<class C, class D>
0 Comments
Please add nice comments or answer ....