Standing on the shoulders (well, maybe feet) of giants
[ start | index | login or register ]
start > comment-Value Object Consequences-3

comment-Value Object Consequences-3 commented Value Object Consequences

Created by Dirk Riehle. Last edited by Dirk Riehle, 2 years and 173 days ago. Viewed 176 times. #3
[diff] [history] [edit] [rdf]
labels
attachments
From Johannes Brodwall: You mention on the Consequences page "Changes in coding style". It is worth to remark that there are some common bugs associated with value objects. Doing
amount.add(tax);
instead of
amount = amount.add(tax);
is a common bug - I actually wrote this while working with >>TopLinks nifty Expression library - maybe a good candidate for your Known Uses section.
4 comments (by Dirk Riehle, hal) | post comment
Copyright (©) 2006 by Dirk Riehle or the respective authors. All rights reserved.