One of the Funniest Code Comments I’ve Read

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 4 out of 5)
Loading ... Loading ...

From a production app:

// You would think this would be as easy as using chkSend.Checked.
// But no. Despite what Microsoft says about the page life cycle,
// the Checked property is not set at this point in the life cycle.
// Maybe it doesn’t ever get set at all because of the repeater.
// I don’t think anyone really knows.  It’s one of life’s great
// mysteries, like whether a falling tree makes noise if there’s
// no one around to hear it.  I think it does, but just like the
// Checked property ever being set, I can’t prove it.

About Me: My name is Rob Walling and I'm a software developer living and working in Boston, Massachusetts. I write about hiring, managing, and motivating software developers, in addition to random outbursts on improving development skills and software startups.

My consulting firm, The Numa Group, performs .NET development for clients throughout the United States. If you are in need of a .NET developer or architect, drop me a line.

If you'd like to subscribe via RSS, my feed is here. If you'd prefer to receive very occasional emails when I publish a major new article, use the box below. Cancel anytime.

3 comments ↓

#1 Chris on 08.05.08 at 12:00 pm

Ha! That’s a good one — and one of life’s great mysteries, indeed.

#2 Jon on 08.05.08 at 5:36 pm

That makes me think of doing searches in Google Labs code search for bad words. ;-)

http://codeulate.com/?p=7

#3 Adnan Masood on 08.07.08 at 1:54 am

haha, this is indeed a mystery. This made me look in our own code repository; not at liberty to disclose the findings :)

Leave a Comment