Menu
Inheritance: When your problems become my problems.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
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
2 months ago
4.1M views
0 shares
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
Windows User And Linux User
Linux
121.1M views
17 days ago
Avg Aaagamedev
Programming
101.5K views
2 years ago
NordVPN
Sponsored
VPN