I prefer to derive

Recommended Answers

All 3 Replies

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

Is this a joke?

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.