Thread: HELP!
View Single Post
  #6   Spotlight this post!  
Unread 16-01-2015, 03:01
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,188
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: HELP!

Quote:
Originally Posted by Lloydpro View Post
I'm very curious why you have like 4 classes just for drivetrain? I just make a quick method and it's over with. Nothing too fancy unless it has to be. In fact I don't know why people make othe classes for stuff when coding for FRC. If you are willing to enlighten me I would be very interested to know why you do that!
I can't comment on this specific case, but by using independent classes, the code can be developed by multiple groups who don't know anything about the code another group is working on. When the final code is written, the only information needed is the names, functions, and arguments of relevant methods for each operations that is to be performed.

In general, breaking up code like this can be helpful since it helps keep issues isolated. If something needs to be rewritten, it is probably going to be limited to one class instead of the entirety of the project.
__________________
Reply With Quote