Passing a full object as arguments VS minimal information?


Is it a good idea to pass a full object as an argument, or is it better
to only give minimum info to the method?

I would say ‘pass the full object’ so you’re ready to implement more
functionality in your method without reviewing every call you have

On Apr 1, 8:39 am, Fernando P. [email protected]