This post originated from an RSS feed registered with .NET Buzz
by Udi Dahan.
Original Post: Watch out for superficial invariants
Feed Title: Udi Dahan - The Software Simplist
Feed URL: http://feeds.feedburner.com/UdiDahan-TheSoftwareSimplist
Feed Description: I am a software simplist. I make this beast of architecting, analysing, designing, developing, testing, managing, deploying software systems simple.
This blog is about how I do it.
As I was reading a blog post on CQRS, Aggregate Roots, and Invariants here, I became aware of a mistake I’ve seen many developers make over the years and I thought I’d call it out real quick.
Superficial Invariants
Taken from the blog post mentioned above: “For example, an employee cannot take more annual leave than they [...]