21. High-Quality Programming Code
- 23,753 views
What is High-Quality Programming Code? …
What is High-Quality Programming Code?
Naming Identifiers in the Source Code: Classes, Interfaces, Structures, Namespaces, Methods, Fields, Constants, etc.
Formatting the Code: Formatting Methods, Formatting Classes, Formatting Loops and Conditional Statements, Using Empty Lines, Breaking Long Statements
High-Quality Methods: Method Intension, Method Behavior, Strong Cohesion and Loose Coupling, Method Length, Method Parameters
Efficiently Using Variables: Declaration, Initialization, Scope, Span and Lifetime
Efficiently Using Constants
Efficiently Using Conditional Statements
Documentation and Self-Documenting Code
Refactoring: Improving the Existing Code
Exercises: Refactoring Existing Low-Quality Code