Sunday, November 27, 2005

Debugged Code Snippet

{
int future_wife_quality = 0; // initialize to 0
for (int i = 0; i < NUMBER_OF_FAILURES; i++)
{
int current_gf_or_crush_quality = rand();
// who knows? therefore random
fall_for (new Girl(current_gf_or_crush_quality));
if (current_gf_or_crush_quality > future_wife_quality)
future_wife_quality = current_gf_or_crush_quality
+ 1; // must be greater, so let's just add 1 right now
}
marry (new Wife(future_wife_quality));
}
Does this look better?

4 comments:

Unknown said...

You're letting too much getting to your head =P

I mean...how could you code something like this @.@

LOL~

Alex said...

Haha~ Okay... perhaps I went a little overboard...

It was just my way (a programmer's way?) of saying that I believe my wife-to-be will be better than anyone else I've ever liked or loved. :-P

Unknown said...

*awwwwwwww*

So sweet~ (*^o^*)

Anonymous said...

hahahhaa... alex... i cannot believe u will code "ur future wife"... i mean... there is no formula for it... at least no quality control to set... :P

You just love who u love....

Nora