View Single Post
  #2   Spotlight this post!  
Unread 28-02-2011, 13:48
Christopher149 Christopher149 is offline
Registered User
FRC #0857 (Superior Roboworks) FTC 10723 (SnowBots)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Houghton, MI
Posts: 1,101
Christopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond repute
Re: Organized, multiple source code vs everything in one code.

We currently have a relatively large (~600 lines) main source file, plus another for tracking the scoring peg targets. We may do more breaking up of files, but step one is to make working code, then worry about pretty code.

While we have only two source files, we have at least broken several functions off into their own methods, which provides very useful organization. All-in-one methods (or functions) are far worse than all-in-one source files IMO.