Logo
HTTP 418: I'm a teapot. Yes, really.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Multiple-inheritance Memes

Posts tagged with Multiple-inheritance

It's Still Inheritance Really

C++ Programming Rust
4 months ago 4.1M views 0 shares
It's Still Inheritance Really
When someone says "inheritance is evil" in 2024, they're usually referring to the Gang of Four's "favor composition over inheritance" mantra. So naturally, you ask how to add behavior to a struct in languages without classes. Their answer? Traits. Which is just... inheritance with extra steps and a different name. Then they hit you with "C++ has multiple inheritance" like it's some kind of flex, and suddenly everyone's running for the exits. Multiple inheritance: the programming equivalent of opening Pandora's box and finding out it contains nothing but diamond problem nightmares and ambiguous method calls.

Today's picks

Funny World's Okayest Web Developer T-Shirt

Funny World's Okayest Web Developer T-Shirt

Affiliate
$17.99
If your mom was a class

If your mom was a class

Programming
95.5K views 4 years ago
NordVPN

NordVPN

Sponsored
VPN