tag:blogger.com,1999:blog-9620948.post5382290886528127610..comments2023-10-20T12:24:17.734-07:00Comments on Binstock on Software: A Parameter-Validation Smell and a SolutionAndrew Binstockhttp://www.blogger.com/profile/16321156191558412680noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-9620948.post-83353977983700596232009-10-08T20:30:37.497-07:002009-10-08T20:30:37.497-07:00I thought about "Data Clumps" initially ...I thought about "Data Clumps" initially - however, Parameter Object is the right thing <br /><br />- atulatulhttps://www.blogger.com/profile/17210244006893166163noreply@blogger.comtag:blogger.com,1999:blog-9620948.post-6018157668311884792009-10-08T20:29:04.982-07:002009-10-08T20:29:04.982-07:00I thought about "Data Clumps" initially ...I thought about "Data Clumps" initially - however, Parameter Object is the right thing <br /><br />- atulatulhttps://www.blogger.com/profile/17210244006893166163noreply@blogger.comtag:blogger.com,1999:blog-9620948.post-3266820464530454982008-09-23T18:31:00.000-07:002008-09-23T18:31:00.000-07:00I do this when I forced to inherit from an object ...I do this when I forced to inherit from an object that has a lot of fields already (like a JComponent). It's much cleaner in the debugger to see all your "own" fields collected in one place.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9620948.post-48771676666175147172008-09-02T17:26:00.000-07:002008-09-02T17:26:00.000-07:00@anonymous Yes, you're right. [ blush ] Thank you!...@anonymous Yes, you're right. [ blush ] Thank you!Andrew Binstockhttps://www.blogger.com/profile/16321156191558412680noreply@blogger.comtag:blogger.com,1999:blog-9620948.post-48660001377100785402008-09-02T15:46:00.000-07:002008-09-02T15:46:00.000-07:00Sounds like a combination of Introduce Parameter O...Sounds like a combination of Introduce Parameter Object and Replace Data Value with Object (Fowler99).Anonymousnoreply@blogger.com