for(int iMoonTrip = 0; iMoonTrip == 0; iMoonTrip++)

by Michael S. Kaplan, published on 2006/10/27 17:01 -04:00, original URI:

Figured I should get some Hungarian notation involved if I was going to post about Charles Simonyi's efforts to be the first nerd in space!

If you are thinking that the code in the title is a silly and wasteful way to run a loop one time, I'll just point out three things:

Pretty exciting stuff!

This post brought to you by (U+263d, a.k.a. FIRST QUARTER MOON)

bg on 28 Oct 2006 7:00 AM:

> it was the only way to make sure Community Server did not expand "iMoonTrip < cMoonTrip" to "iMoonTrip &amp;lt; cMoonTrip" in the title;


josh on 28 Oct 2006 6:05 PM:

I don't want to be baggage, but...  you could have used iMoonTrip != cMoonTrip...

Michael S. Kaplan on 28 Oct 2006 6:47 PM:

Yes, and several other constructs.

And yes josh, you are a geek too! :-)

go to newer or older post, or back to index or month or day