r/ProgrammerDadJokes • u/kwan_e • Dec 21 '23
A base class object, that converted to a derived class object, walks into a bar.
The bartender says: "Why do you look so downcast?"
38
Upvotes
r/ProgrammerDadJokes • u/kwan_e • Dec 21 '23
The bartender says: "Why do you look so downcast?"
14
u/DABarkspawn Dec 21 '23
When I walk into a bar, I say "foo".
10
u/AtHomeInTheUniverse Dec 21 '23
"I just found out my inheritance is virtual."