September 2nd, 2011, 07:22 PM
-
Objects: Class Design
Supposing I was designing a Class structure that dealt with projects and tasks. And supposining there were groupings of projects, lets call them project_lists. Then is it likely that I would have the following Classes:
Projects
Project
Tasks
Task
and as Project_lists would probably have the same methods and properties as Projects, would I need a separate Class for them?
Thanks - Mike
October 1st, 2011, 03:18 PM
-
no,
you only need 2 classes
Project
Task
and then in the code have an array of projects and an array of tasks