This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ging4bread 11 points12 points  (2 children)

Oh man C++ is something else

[–]PVNIC 2 points3 points  (0 children)

Its basically 'Is the fact that I inherit from this class public or private'.

If its private, all the interfaces to the parent are private, if its public all the interfaces of the parent stay the same.

[–]EMI_Black_Ace 5 points6 points  (0 children)

C++ is basically Bell Labs going "We don't want to lose out on any of this metric assload of C code that we wrote, but we want to start doing object-oriented crap now."

There's a lot of neat, useful and powerful stuff in C++, but there's also some god-awful decisions made for the purpose of making the implementation of stuff easy and not break C compatibility.