Blog - Title

April, 2009

  • Fabulous Adventures In Coding

    Comma Quibbling

    • 277 Comments
    [UPDATE: Holy goodness. Apparently this was a more popular pasttime than I anticipated. There's like a hundred solutions in there. Who knew there were that many ways to stick commas in a string? It will take me some time to go through them all, so don...
  • Fabulous Adventures In Coding

    The Stack Is An Implementation Detail, Part One

    • 36 Comments
    " style="BORDER-TOP-WIDTH: 0px; DISPLAY: inline; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px; BORDER-RIGHT-WIDTH: 0px" height=240 alt="Stack " src="http://blogs.msdn.com/blogfiles/ericlippert/WindowsLiveWriter...
  • Fabulous Adventures In Coding

    Restating the problem

    • 34 Comments
    A problem statement: I am trying to loop though a sequence of strings. How can I determine when I am on the last item in a sequence? I don’t see how to do it with “foreach”. Indeed, “foreach” does not make it easy to know when you are almost done. Now...
  • Fabulous Adventures In Coding

    Events and Races

    • 30 Comments
    Here’s a question similar to one I saw on stackoverflow the other day. Suppose you have an event: public event Action Foo; The standard pattern for firing this event is: Action temp = Foo; if (temp != null) temp(); What the heck is up with...
  • Fabulous Adventures In Coding

    Good Names

    • 15 Comments
    Imagine a door with an unusual handle. The handle is five feet off the ground and rotates upwards to open the door. The door has no lock. Is this a good door design? Sorry. That’s not an answerable question. The purpose of almost every door is to prevent...
  • Fabulous Adventures In Coding

    A Book By Any Other Name Would Smell As Sweet

    • 10 Comments
    As you might have gathered from my previous posts on the subject, I occasionally edit technical books as a hobby. It’s nice having a hobby that pays money instead of costing money. And I always learn something from every book. Many years ago, on one...
  • Fabulous Adventures In Coding

    Double Your Dispatch, Double Your Fun

    • 9 Comments
    Here’s an interesting question I got the other day: If you have an overloaded operator == then any call to the operator method is “early bound” at compile time according to the compile-time types of the operands . But calling Equals() on an object...
  • Fabulous Adventures In Coding

    Five-Dollar Words For Programmers, Part Five: Reification

    • 9 Comments
    Today, another in my series on awesomely arcane words for programmers . Reification is the process of turning something that is normally thought of as an abstract concept into something more concrete . It’s from the Latin res facere , “thing making”....
  • Fabulous Adventures In Coding

    Many Happy Returns

    • 1 Comments
    Happy birthday Channel Nine! In this episode I finally discover why it is that Charles picked me to be the guinea pig, and I wax verbose on the subject of human brains.
Page 1 of 1 (9 items)