Header Ads

Principles of a good programming Style

Principles of Good programming style
1. Good naming convention.
2. Good file naming and organization.
3. Formating and Indentation.
4. Adding Comments and documentation.
5. Ensure all classes have a default constructor, copy constructor and overloaded operators.

6. Avoid generating function with lot of conditional branches.
7. Use Standard Libraries instead of creating your own.
8. Use of pointers and references is very good especially in C++ programming.
9. Testing programs to minimize Bugs.

No comments