|
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.
|