Quote:
|
Originally Posted by Venkatesh
Seriously, all our code is well commented and human readable, except the code in our interrupts
|
Our code is well commented to. People have complained in the past that I don't explain my code well enough (non-programming types, so what can you do?), so I've decided to let the Bard do it for me ...
Here are some wonderful (and iambic pentameteric) samples:
Timer interrupt, anyone?
/* When I do count the clock that tells the time */
Auton mode; first drive full speed forward!
/*
O! what excuse will my poor beast then find,
When swift extremity can seem but slow?
*/
Encoders and PID control make for some nice driving:
/*
Be where you list, your charter is so strong
That you yourself may privilege your time
To what you will; to you it doth belong
Yourself to pardon of self-doing crime.
*/
For static or global variables:
/*
Your name from hence immortal life shall have,
Though I, once gone, to all the world must die:
*/
And, in honor of the BASIC stamp of years past, here's the last sample I'll give (afterall, you might reverse engineer my code if I offer too much

)
/*
Thou art as fair in knowledge as in hue,
Finding thy worth a limit past my praise;
And therefore art enforced to seek anew
Some fresher stamp of the time-bettering days.
*/
See, I'm not obsessed with programming. I do have a literary side! (And with 154 sonnets, and other poems to boot, you can imagine that this is but a small sample. W00t!)