Passing a full object as arguments VS minimal information?


#1

Hi,

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?


#2

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

On Apr 1, 8:39 am, Fernando P. removed_email_address@domain.invalid