Software Engineering | Explain Development Principles.

The development principles are as follows: -  

Preparation principles: Before you write one line of code, be sure you  

• Understand of the problem you’re trying to solve.  

• Understand basic design principles and concepts.  

• Pick a programming language that meets the needs of the software to be built and the environment in which it will operate.  

• Select a programming environment that provides tools that will make your work easier.  

• Create a set of unit tests that will be applied once the component you code is completed. 

Programming principles: As you begin writing code, be sure you  

•Constrain your algorithms by following structured programming [Boh00] practice.  

• Consider the use of pair programming.  

• Select data structures that will meet the needs of the design.  

• Understand the software architecture and create interfaces that are consistent with it.  

• Keep condit ional logic as simple as possible.  

• Create nested loops in a way that makes them easily testable.  

• Select meaningful variable names and follow other local coding standards.  

· Write code that is self-documenting.  

• Create a visual layout (e.g., indentation and blank lines) that aids understanding.  

Validation Principles: After you’ve completed your first coding pass, be sure you  

• Conduct a code walkthrough when appropriate.  

• Perform unit tests and correct errors you’ve uncovered.  

• Refactor the code. 

Post a Comment

0 Comments