Little-known fact

Chuck Norris can dereference a NULL nsCOMPtr.

8 Responses to “Little-known fact”

  1. Caleb Says:

    nice one :)

  2. bernd Says:

    If we do it on regular base, why should he not be able to do it too.

  3. jhermans Says:

    is that with or without the kungFuDeathGrip ?

    http://lxr.mozilla.org/seamonkey/source/widget/src/xpwidgets/nsBaseWidget.cpp#241

  4. Greg Says:

    You should probably add a comment in the code to make that patently clear:

    NS_PRECONDITION(mRawPtr != 0, “You can’t dereference a NULL nsCOMPtr with operator->().”);
    // Actually, Chuck Norris can.

  5. Badgers, Brats and Firefox Says:

    Chuck Norris Can…

    After my floor took on a Chuck Norris theme* (second and third went with Sean Connery and Audrey Hepburn respectively) I decided that Moznet could stand a little Chuckifying, so I wrote up a module for Mozbot and set it……

  6. Jesse Ruderman Says:

    Ryan, that is awesome.

  7. Chuck Norris Says:

    Don’t tease me dudes, I’ll kick the bits outta your asses.

  8. Jesse Ruderman Says:

    Chuck Norris has solved the halting problem. The answer is always “The program halts”, enforced by roundhouse kick.