to take a bunch of data gleaned from an object and replace it with the object itself
- Chapter 3. Bad Smells in Code
- from Refactoring: Improving the Design of Existing Code
- Publisher: Addison-Wesley Professional
- Released: June 1999
What if not all the fields of the object are required as a parameter to that method? Is it still advisable to pass the entire object? Is passing the object in such a case an overhead?
Share this highlighthttp://www.safaribooksonline.com/a/refactoring-improving-the/10809378/