diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | tutorials/module_2/verification_and_validation.md | 17 |
2 files changed, 18 insertions, 1 deletions
@@ -48,7 +48,7 @@ See the tutorials under the /tutorials/ directory or use the links below. - [Code Documentation](tutorials/module_2/documentation) - - Code libraries & resources - [AI assisted programming](tutorials/module_2/assisted_programming) - Productivity through AI -- Verification and Validation - Writing Robust Code +- [Verification and Validation](tutorials/module_2/verification_and_validation.md) - Writing Robust Code - [Error](tutorials/module_2/error.md) - Dealing with computer error #### Module 3: Applications of Computational Mathematics in ME - [Linear Equations](tutorials/module_3/1_0_linear_equations.md) diff --git a/tutorials/module_2/verification_and_validation.md b/tutorials/module_2/verification_and_validation.md new file mode 100644 index 0000000..84064d3 --- /dev/null +++ b/tutorials/module_2/verification_and_validation.md @@ -0,0 +1,17 @@ +# Writing Robust Code + +This section includes tips and good practices you should exercise when writing code. It is acome up by Software Engineers at NASA. + +1. Simple Control Flow +2. Limit all loops +3. Limit function size -> function should only perform 1 action -> max 60 lines or fit on a printer paper +4. Practice data hiding -> hide internal object details -> restrict the data access to class members. It maintains data integrity. +5. Check return values from your functions + + +# Verification and Validation +Verification and validation is a process + +**Verification:** + +**Validation:**
\ No newline at end of file |
