Friday, March 28, 2008

What to do with the Person Class?

What do I want to do with the Person class? That's a good question. Do I want to make it an interface, or do I want to keep an abstract class or, do I just want to keep a regular class? What benefit will it have in the long run? That's another good question. Since everybody emulated in software is-a person, I think it would be best to think of it as an abstract class (at most), a regular class on average. I don't think there is any benefit to making the class an interface. What will a runner bring that a person will not to the design?

No comments: