Keep fit to program better

July 2, 2007 at 11:04 am (programming & algorithm)

It may seem obvious but it is 100% true. If a programmer exercises regularly to be on shape he/she can program better. You don’t have to worry about physical problems like stiffness and exercising make’s you feel better about yourself.

#include

int main(void){

Exercise you(“Your name here”);

you.do_pushups(25);

you.do_situps(30);

if (you.tired()) {

you.rest_for_a_while();

}

you.lift_weights();

return 0;

}

You get the point…
:-)

Post a Comment