Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Browse by Tags
All Tags »
.Net »
Best Practice (
RSS)
-
|
Today I was refactoring some sql procs along with the corresponding .net code that called the procs. My primary focus was to implement some new business rules (ways to get totals) in the proc. In doing so, I completely re-wrote the proc. In...
|
-
|
When using a mocking tool like RhinoMocks, one of the features that it can provide is the ability to A) create a stub of an object and B) set expectations on Method/Property calls that are part of that method. Doing this is pretty easy, but like all things...
|
-
|
Over the years I have come to the conclusion when working with switch statements that switches on enum values, a DEFAULT block MUST be required. Not only should it be required, I think it should throw a developer exception. *** NOTE *** My stance on this...
|
More Posts