Grabbing frogs...

Bits of Wisdom

I've finished reviewing your code and would like to offer you some advice.


Remember that life is short. Be careful what you use it for.


You're right! What am I doing here? I need to travel the world and help orphan snails find homes. I quit!


No, I...uhh...



int bonus = 40000;
short life = 0;

life += bonus;

for (int x = 0; x < life; x++) {

A little programming humor for those of us who can still remember strongly typed languages and a need to conserve memory. A short, or short int, was typically 2 bytes and unless unsigned could not hold a value larger than 32,767. And if you didn't need to store a number greater than 255? Use a char. It used to matter.

But maybe there's a deeper meaning here as well. Make sure you're using your life the right way...

Published Wednesday, 22 May 2019

Vote for us on!
Our Current Rank is: 0