Keep fit to program better

This tip submitted by Luna Man on 2005-11-06 12:53:58. It has been viewed 52385 times.
Rating of 6.9 with 459 votes



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



More tips

Help your fellow programmers! Add a tip!