Code quality
-Consider the relationship between quality and requirement.
-The format used to Convery requirements is an important part of the journey.
The Scientific Method
Experiment and test your hypothesis. Characteristics of high quality software
What is Quality?
-Businesses that value quality become
More effective at innovation. Increase their completive differentiation. Greatly reduces their total cost of development & ownership. The Quality Triangle
Time
-Available to complete project.
Cost
-Money available to fund the project.
Scope
-How much work is needed.
How do business’ stakeholders have influence?
-”If you give a user “perfect” software that doesn’t meet user needs, have you really provided them with quality software?”
Methods warning signs
- If the code within a method is being organized into sections, it does too many things
Use meaningful names
Naming tips
Use words that are pronounceable Methods are verbs or verb phrases Consistency
Consistent naming schemes through codebase Avoid confusing names that are ambiguous or similar to ones already used Meaningful, descriptive names go a long way Self-documenting code means code explains itself · Practices beyond coding style Revision control
Users can make their own revisions of a document
Methodical assessments of code designed to identify bugs, increase code quality and help learn source code
Process where the smallest testable parts of an application are individually and independently scrutinized for proper execution
- Build and unit testing stages of software release process
how to know what to build?
what problem are we trying to solve? many ways to get to destination Refactoring and good design practices help make
code more understandable and meaningful.
Looking at code should be easy with a quick skim.
It should not require intense study or great mental
power in order to make sense of what is
happening
Extra Week Two Content Notes