Difference between revisions of "FTC Make Coding Easier with Methods 20230112"
From wikidb
(Created page with "= Why Use Abstraction = * Makes it easier to reason about complex programs by reducing the detail you have to think about at one time * Makes is easier to test programs - we c...") |
|||
Line 4: | Line 4: | ||
* Makes the code is reusable saving time. We can more easily takes code from one program and use it somewhere else. | * Makes the code is reusable saving time. We can more easily takes code from one program and use it somewhere else. | ||
* Makes code more reliable by allowing us to use the same code over and over. | * Makes code more reliable by allowing us to use the same code over and over. | ||
+ | |||
+ | = Code Outline = | ||
+ | |||
+ | * Code based on [[FTC_Motor_Encoders_20200304]] |
Revision as of 10:09, 12 January 2023
Why Use Abstraction
- Makes it easier to reason about complex programs by reducing the detail you have to think about at one time
- Makes is easier to test programs - we can test small part individually
- Makes the code is reusable saving time. We can more easily takes code from one program and use it somewhere else.
- Makes code more reliable by allowing us to use the same code over and over.
Code Outline
- Code based on FTC_Motor_Encoders_20200304