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?!"

http://www.sapiensworks.com/blog/post/2013/07/17/-TDD-Is-Not-Slow.aspx

CQRS, Command Query Responsibility Segregation FAQ

CQRS by Martin Fowler
http://martinfowler.com/bliki/CQRS.html

Introducing the Command Query Responsibility Segregation Pattern from MSDN
http://msdn.microsoft.com/en-us/library/jj591573.aspx

C# code exmaple: LIntroduction to CQRS
http://www.codeproject.com/Articles/555855/Introduction-to-CQRS