Bill Roper (billroper) wrote,
Bill Roper
billroper

What Is the Sound of a Head Hitting a Desk?

I was up until nearly 3 AM last night fixing bugs in some of my C++ code that I've been desperately refactoring to try to get onto a reasonable footing so that it both works and can be ported to Java using equivalent structures. Sadly, the code still didn't work when I went to bed.

Refreshed by not enough sleep, I went back to the problem this morning and discovered that I was unable to look up any of my dimension members in the map that I'd created for the purpose. What the heck?

After investigating a whole lot of possible points of failure, I found that the case-insensitive map that I'd hacked together was looking up the case-insensitive keys and storing the case-sensitive keys due to an error in typing.

Well, that won't work!

*thud* *thud* *thud*
Tags: c++, computers, musings, work
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments