Friday, January 9, 2015

The most difficult part of TDD: You have to write tests first before coding/design/implementation

"Have to actually think what you expect from a piece of code BEFORE you write it! Madness! Instead of just writing code, you have to think before you code! And if you can't formulate properly an expectation, HOW do you write the code in the first place?!"

CQRS, Command Query Responsibility Segregation FAQ

CQRS by Martin Fowler

Introducing the Command Query Responsibility Segregation Pattern from MSDN

C# code exmaple: LIntroduction to CQRS