top | item 6975852

(no title)

dkirkman | 12 years ago

> Your are not required to use exceptions or templates if you don't want to.

This is absolutely true -- at least if you're working alone. But I've always found the whole "let's use a subset of c++" to be untenable on long projects. Somebody always joins that's infatuated with Alexandrescu, or some random error handling strategy, and then you end up in endless debates about concepts vs. abstract base classes. Those debates can be fun, but they seem to too often leave behind hurt feelings and demoralized team members.

If you just throw back to c, all you have to deal with is the argument that "we should really use c++, because <insert some random thing>". Those don't last too long, you just have to respond that it's a c project :)

discuss

order

catnaroek|12 years ago

> endless debates about concepts vs. abstract base classes

Really? Generic programming's better static error detection facilities makes it the superior alternative with respect to object-orientation, whenever you can choose between the two. This pretty much settles the question IMO.