|
Re: Autonomous Program Names
#define GREAT mao
mao()
{
LEAP_FORWARD(GREAT);
}
____________________________________________
The above segment is definately going to be in our code. I think we might have the LEAP_FORWARD function contain all the critical code for driving, and have main() call mao(). Something like that.
Another segment from our code so far:
#define ONE 2
#define TWO 3
IF (ONE != TWO) { /* Main loop goes here */ }
And a freshman on our team has written these lines:
RETURN_OF_THE_EVIL_MENTALLY_DISTURBED_TAX_COLLECTI NG_POTATO_CARROT_HYBRID = 0;
and
#define OUCH pain
#define unneeded_variable NULL /* This should upset the compiler*/
#define GEORGE BUSH
#define AL GORE
#define BILL CLINTON
#define LYNDON LAROUCHE
#define I_AM NOT_DRINKING_SODA
#define YOU_WILL DELETE_MOST_OF_THESE_VARIABLES
#define DEAN HOWARD
___________________
If the code has personality, all is well.
Seriously, all our code is well commented and human readable, except the code in our interrupts. That code is as fast as possible (to the point where it requires at least 2 people working at it to understand it, but it is three lines long)
And our line-tracking code is exactly 2 lines long. =)
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
|