Thoughtful functionality - Writing well-structured, reliable, and flexible FRC code

https://imjac.in/ta/post/2019/01/11/structuring-frc-code.html

Excerpt:

In all the buzz of build season, it’s common that we forget what we’re meant to be teaching. In terms of programming and coding skills, well-structured programs and good practice are often foregone in favour of unstructured spaghetti designed to ‘just get the robot moving’. In this post, we’ll be talking about how to structure our code for flexibility, reliability, and how to solve the “mechanical team isn’t ready yet” dependency problem.

2 Likes

This is great! Thank you so much for sharing!

Great write up! Just this year got the students in to writing generic code to keep things simple, and this explains it better than I could.