January 28th, 2003

My Widdle Bwain

Code Weirdness

This is mostly addressed to Slothman , but anyone can feel free to join in on the fun if they wish.

What is the purpose of this code:

For i = 1 to 1

< stuff happens in here>


Check me if I'm wrong, but this only executes once. So that would be functionally equivalent to if just the were done without the enclosing for-next loop, yes?

I ask mainly because I've seen it in the code I inherited several times, and have been wondering what deep and important point I'm missing here. 'Cause just looking at it, that code looks mighty stupid to me.

Back to figuring out why anyone would want to compare something they always know will equal 1 to something which may or may not be 1, and pondering why they didn't just compare the thing to 1 instead of some variable which (after much research) I know will always be 1. (Great indeed are the mysteries of the universe...)
  • Current Mood
My Widdle Bwain

Heavy Hair

From an e-mail conversation with a friend (he wrote it, I didn't). Reposted with permission:

Kyouichi: The weight of my hair has cost me this race.

Ryousuke: You can't master a mountain pass with the skills you learn in the barber's shop.

Kyouichi: It can't be! That's impossible!

Ryousuke: I'm not going to argue with you. If you want to prove your theory, do so by defeating me.

Kyouichi: I will shorten my hair, dye it a lighter colour, and improve airflow with a bandana! I will then train hard to master my new hairstyle.


(Ryousuke beats Kyouichi again)


Kyouichi: The weight of my clothes cost me this race!

Ryousuke: Let's not go there.
  • Current Mood
    amused amused