View Single Post
  #1   Spotlight this post!  
Unread 11-02-2016, 09:23
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 39
onenerdyguy is an unknown quantity at this point
Noob question, but would love some advice

So, we're 90% done with our code, and a team member had a question that I honestly didn't have a good answer for.

Why do we have things broken out in commands/subsystems/etc files instead of just making one giant robot.py file?

My initial answer is to make it easier to split up the coding as well as making sure that one failure in a system won't bring the bot down, but as we've coded more we find that if you screw up in a subsystem or a command, it'll bring down when that code iniatializes anyways.

Help me out?
Reply With Quote