Month: <span>September 2010</span>

INounPhrase or IVerbPhrase?

Naming is an important part of creating clean, readable code.  The de facto standard for naming interfaces in the .NET community has always been INounPhrase, such as IEnumerable, IDbConnection, etc.  However, Rob Simmons and others have recently been advocating using IVerbPhrase instead, such as IAmEnumerable, IProvideWidgets, etc.  At first I was resistant to this change,…

Read More

Tell-tale Signs of a Good Software Project

I’ve been working in this industry a long time.  I’ve been on projects that were truly a joy to develop for, and I’ve been on projects that were so painful to work with that I found myself wondering if I’d chosen the wrong career.  In hindsight, there are some characteristics that were shared by all…

Read More

The Right Way to Do Automocking with Ninject

While StructureMap is definitely my IoC container of choice, it’s not the only game in town.  At my new job, our existing project uses Ninject.   One of my first tasks at this new job was integrating my SpecsFor “framework” into the existing projects.  The original version of SpecsFor worked with StructureMap and leveraged its auto-mocking…

Read More