Clear layers
Each part of the code has one job. Only one layer knows which physical port a motor is plugged into, so swapping a motor is an edit in one file.
FTC Team 19859's robot code, organised and documented so the next team member can pick it up.
Every FTC team rewrites its code every couple of years, and almost never because the old code stopped working. It is because the person who understood it graduated.
Biozbuzz Quickstart FTC is FTC Team 19859's open-source robot code, organised so that the next team member can read it, change it and trust it.
Each part of the code has one job. Only one layer knows which physical port a motor is plugged into, so swapping a motor is an edit in one file.
Every structural decision has a short written explanation, and a wiring map matches the code.
A six-step checklist brings up a new robot, and every change is checked automatically when it is pushed.
The six-phase checklist a new robot goes through. Each phase is gated: you cannot advance while a check in the current phase is still failing.
The interesting challenge was not speed. It was making the code make sense to someone who was not in the room when the decisions were made.
A codebase that only its author can maintain has a shelf life, not an architecture. Writing down the reasons is what keeps it usable after the people who wrote it have left.