Aug
12
2010
0

Value objects are only just playing a role

Recently I had an interesting discussion on the DDD mailing list about value objects.

Value objects: “These are the objects that describe things” [From: DDD, Evans]

The discussion centered on the immutability of value objects. The strange thing is that many developers (in the role a modeller) emphasize this immutability. I’ve seen this happen quite often. While I do not think that is the essence of a value object at all. read more…

Written by Rick | Tags: , , , , , |

No Comments - Leave a comment »

Jul
15
2010
0

No Exceptions made

In response to a finding during an internal project code review last Friday and an article in the latest Java Magazine we had an interesting discussion on the reasons for using exceptions. Eventually I supported two rules of thumb, one I had thought of myself, the other from a colleague of mine.

The following rules of thumb should be seen as in the context of a development platform that supports their use and a developer who uses as the following, basic rule for recognizing the situation to use an exception: use an exception if you cannot follow the normal execution path any more, in other words, if something extraordinary happens or has happened. read more…

Written by Rick | Tags: , , , , , , |

No Comments - Leave a comment »

Feb
20
2009
0

Domain exploration – really

The last few week have been quite exhilirating! Two weeks of really exploring a domain, getting to know a new client’s business and language. I have always liked going through such a phase and one does not always get the chance to do something like that for two whole weeks at the client’s site. read more…

Written by Rick | Tags: , , |

No Comments - Leave a comment »

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes