The Other Worlds Shrine

Your place for discussion about RPGs, gaming, music, movies, anime, computers, sports, and any other stuff we care to talk about... 

  • More programming humor - may even be funny to others

  • Somehow, we still tolerate each other. Eventually this will be the only forum left.
Somehow, we still tolerate each other. Eventually this will be the only forum left.
 #89317  by Nev
 Thu Jun 23, 2005 1:30 am
A few weeks ago I was testing our bitmap font class for mobile development...there was a bug in my abstract collection class...I wrote down the results in comments at the top of the file because I thought they were pretty amusing.

To test the bitmap font class, I put in a nonsense string, off the top of my head, "fudgebutter". (I suppose I was hungry.) It drew to the screen "fudgebutte". I figured, okay, I'll figure out where it's dropping the last character later, and moved on to test drawing it with spaces in it to test that - it was supposed to tokenize the string, and draw each word on the next line automatically if there wasn't enough room left.

So to test drawing with spaces, I put a space in "fudgebutter" - so, "fudge butter". I got back "buttfudg".

There were a few bugs that joined forces to produce a fairly serious, but funny-ass, error. I should have taken a screenshot; that goes on my personal list of "best bugs ever", right up there with the Spanish "no startup disk inserted - hit any key" message that for some reason the BIOS on my old computer spit out at me one day. Anyone else have any good ones?