Pass objects or values to functions
<p><em>This question has been edited to ask about a specific example as the original question was deemed unanswerable.</em></p>

<p>Given an application that needs to display information about various objects (including similar and inherited objects) would it be better to pass in base class objects to the display function and allow it to query the object to determine what data to display; or should you just pass in each of the fields by value. The advantage of passing by value being do not need a direct dependency on the objects they representing, thus keeping the display (UI) isolated from the business rule objects.</p>
