|
Re: Number of liines of code in user_routines.c
The current code I have for user_routines.c is 111 lines long.
I gutted it (all those Limit_ functions are gone; I never used them) and I haven't put the drive code back in since the rewrite. That's why it's so short. Plus I have the code spread into other files I created, too.
Don't worry about it being long. Worry about it being readable. Being up late in the shop night before ship date you may be tempted to just keep writing, but when you have to decipher it to figure out why autonomous mode did nothing, you will smack yourself if it isn't readable.
JBot
__________________
Aren't signatures a bit outdated?
|