Gang,

I find this blog (and comments) entry quite interesting, for several reasons;

http://debasishg.blogspot.com/2007/07/domain-driven-design-handling-alternate_3757.html

First of all, the recognition that "Business Rule Violation" is a
strong domain concept, that my GutFeeling(tm) says we should support
directly.

Secondly, is it only me, or is the "if/else" vs "try/catch" debate
completely meaningless, as they are both totally wrong? Shouldn't the
doUpdate() return some form of action item, which always has to be
acted upon, even in the non-violation case?


Thirdly, how can we make this easier in Qi4j?


Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to