Introduce Parameter Object
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs)
(New page: What to do when you have a group of parameters that naturally relate or fit together. ---- '''Example:''' amountInvoicedIn(Date start, Date end) becomes amountInvoicedIn(DataRange ran...)
Newer edit →
(New page: What to do when you have a group of parameters that naturally relate or fit together. ---- '''Example:''' amountInvoicedIn(Date start, Date end) becomes amountInvoicedIn(DataRange ran...)
Newer edit →
Revision as of 10:50, 14 October 2009
What to do when you have a group of parameters that naturally relate or fit together.
Example:
amountInvoicedIn(Date start, Date end)
becomes
amountInvoicedIn(DataRange range)
with DataRange becoming the new "Parameter Object"
See Also