View Single Post
  #2   Spotlight this post!  
Unread 11-02-2016, 09:49
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Noob question, but would love some advice

It's much easier to manage and organize. If you have a robot.py file that is 10k lines long, how much time is it going to take to find where you initialized the joysticks?

If you have it under /robot/joysticks/joystick_left.py, you know exactly where it is, and is likely 20 or 30 lines long in total.

Also, imagine you have more than one programmer, you can give each programmer a subsystem to work with. The changes they make are isolated to their subsystem and don't affect the code of other people's code / subsystems.

Code management is a primary reason.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote