Which would you prefer: composition or inheritance?
Anonymous
I prefer composition over inheritance - one of the design principles of OOP. I also find it easier to re-use code and it's easier for the developer to digest.
Check out your Company Bowl for anonymous work chats.