@vaporeon_ did you know that in C++, there are six different ways to inherit a class
@vaporeon_ you can either inherit something publicly, privately, or protectedly
furthermore, there is virtual or nonvirtual inheritance
so there is private virtual
, private
, protected virtual
, protected
, public virtual
, and public
inheritance
@vaporeon_ no one uses anything other that public
inheritance but the other five are there so that you can demonstrate knowledge of language trivia during a job interview
@wallhackio @vaporeon_ lmao
@vaporeon_ the default type of inheritance is private
inheritance even though no one ever uses it
very well-designed language
@wallhackio @vaporeon_ marriage, inheritance, corporate takeover....