For the most part, I try to dogfood all new versions and flavors of StructureMap and StoryTeller at Dovetail. Just in case my boss reads this, that’s largely okay because all of StoryTeller and many StructureMap enhancements are built for Dovetail to begin with. Today I hit an issue with the brand new “Nested Container” feature in the StructureMap trunk. Here’s a rundown of the basic timeline this morning:
4:55 PM Last Night: StackOverflowException
9:10 AM: I isolate the problem to StructureMap itself as a nested Container is getting disposed
9:12 AM: I think to myself that dogfooding sucks
9:15 AM: I’m very, very glad that I caught this error before users
9:55 AM: After standup, I finally look at the offending method and say to myself “I’m a f***ing idiot” because I KNEW that what I did was going to cause a StackOverflow and I forgot to write the guard clause
9:57 AM: Fixed and happy
10:04 AM: Blowing off steam by writing this blog post
10:05 AM: Playing Centipede while my checkin dance gets going
Thank you for listening, I feel better now.