Mocking in Test Driven Development

{ March 17th, 2007 }

At the beginning of the year, our development organization decided to go Agile. Our development methodology was going to be flipped on its head. This meant saying goodbye to the waterfall approach and hello to rapid, iterative development. This also meant adopting TDD (test driven development) - a development procedure in which unit tests drive your code. Three months into it, we seem to have gotten the hang of it and picked up some new skills along the way.
Read the rest of this entry »

Posted in Programming, Tech ~ No Comments

Threading in C#

{ January 28th, 2007 }

Here is an excellent article about Threading in C# written by Joseph Albahari.  It gets you started with very basic examples and then goes in depth into topics such as synchronization and locking.  The examples are quite good and very easy to understand.

The article is available in both web and PDF format.

 

Posted in .NET, Programming, Tech ~ No Comments

.NET Heaps and Stacks

{ January 4th, 2007 }

Ever wonder…
    What are stacks and heaps and why do I care? 

    What goes on the stack and what goes on the heap?

    How is parameter passing handled in memory?

Below are links to a four-part series of articles about memory management in .NET.  They are an excellent read and should give a refresher on things such as what are reference and value types, when to use structs instead of classes, what actually happens to our variables in memory, and garbage collection in .NET. 

Part 1
Part 2
Part 3
Part 4

Posted in .NET, Programming, Tech ~ No Comments