No, we just did code review at work and this came up. Maybe this should be in the Object Oriented Forum?
Type: Posts; User: stanlj
No, we just did code review at work and this came up. Maybe this should be in the Object Oriented Forum?
To keep this simple, I have a list of items and i have to do two tasks with this list. For efficiency one programmer is saying loop once and perform both tasks. The other programmer is saying make...
for first scenario: Where do you propose i put the getPeople() method? Do i create a PersonList class, or a People class, or a generic master list class, or something/somewhere else?
I have searched for this question and not found the answer. This should be simple, but i struggle with the answer. Hopefully someone can help.
Where is the OOP acceptable place to put methods to...