View Single Post
  #8   Spotlight this post!  
Unread 07-02-2008, 10:09
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: I am going crazy

"Wow, yours seems kind of confusing"

Our algorithm is a state machine. If we drew each algorithm on a white board, ours would look much simpler than yours. And ours is more efficient, each time it is called only the code in one case is executed. Yours seems just as complex. You have almost as many 'if' clauses as we have cases. I reckon the use of macros and a switch statement would make it look more complex to a less experienced programmer. But our team has a number of software mentors to help the students.

HTH

Last edited by wireties : 07-02-2008 at 13:19.