Code I'm Proud Of

time to read 1 min | 139 words

The recent work I did with graphs reminded me the time I wrote the orderring functionality in Rhino Mocks. (I asked my warders about it, and they still rib me about order in inorder recursively). It was one of the trickest parts in Rhino Mocks, to find an interface that will allow nested orderring behaviors that will be invisible for the users.

In the end, I went with a variant of both chain of responsibility and composite. I worked very hard (and had a lot of tests) for this part of Rhino Mocks, and it is one of the places I just didn't have to do anything with since releasing the first version (nearly 8 months ago, and dozens of versions).

That is code that I'm proud of.