954,086 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Do you prefer to derive classes or just use single classes???

I prefer to derive

Manutebecker
Junior Poster in Training
51 posts since May 2008
Reputation Points: 10
Solved Threads: 3
 

Each one has a purpose of its own. I prefer to use the one that best suits the job :icon_eek:

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

Is this a joke?

da penguin
Newbie Poster
18 posts since Dec 2008
Reputation Points: 36
Solved Threads: 5
 

Like comatose said, it all depends. But when it comes down to it, i would prefer using a single class. When you start deriving it gets confusing.
Or even using a class that expands off of another class, such as an array of strings' class, which uses a string class, which uses simple character arrays.

u8sand
Junior Poster
131 posts since Dec 2008
Reputation Points: 78
Solved Threads: 15
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: