summaryrefslogtreecommitdiff
path: root/tutorials/module_2/verification_and_validation.md
blob: 84064d3694dadcfd611be7cda0d6144e33ecd5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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:**