Loading video...

Video Failed to Load

Go Home

Morning bathrobe rant: multiple inheritance.

43,759 views • 1 year ago •via X (Twitter)

11 Comments

Ren's profile picture
Ren1 year ago

Bob your rants and voice give me real green goblin vibes. enjoy!

The Liberation Project's profile picture
The Liberation Project1 year ago

𝑾𝒆𝒂𝒍𝒕𝒉𝒚 𝑬𝒍𝒊𝒕𝒆 𝑻𝒆𝒍𝒍𝒔 𝑻𝒉𝒆 𝑻𝒓𝒖𝒕𝒉 𝑨𝒃𝒐𝒖𝒕 𝑾𝒆𝒂𝒍𝒕𝒉𝒚 𝑬𝒍𝒊𝒕𝒆𝒔 Multi-millionaire professor Scott Galloway tells the unadulterated facts about the decline of modern capitalism and extreme inequality. ★ NEW ARTICLE ⬇️

Tom Siwik's profile picture
Tom Siwik1 year ago

I showed a junior dev this video. He's scared of inheritance now altogether.

James Landrum's profile picture
James Landrum1 year ago

Here’s a radical idea… everything in software is just concepts, applying names to them then walling off when most of the time the logic is the same no matter which pattern you use is antithetical to the fact that computers don’t give a damn about them in the first place. Use the “pattern” that does the job and the job is to write code for HUMANS that the COMPILER translates into code for COMPUTERS.

kosine's profile picture
kosine1 year ago

The problem with multiple inheritance is that I've found few problems best solved by inheritance and fewer still best solved by multiple inheritance. Traits and interfaces always seem to give me cleaner results than inheritance and abstract classes ever did.

Uncle Bob Martin's profile picture
Uncle Bob Martin1 year ago

Interfaces ARE abstract classes.

Rolf Wilms's profile picture
Rolf Wilms1 year ago

I think it was perfectly ok for Java language designers to make choices keeping the language simple for everyone. In contrast, C++ language designers chose to make the language so complicated that you almost need a team of lawyers only for telling you what is undefined behavior and what not.

Uncle Bob Martin's profile picture
Uncle Bob Martin1 year ago

The Java designers could have kept the language a lot simpler if they had omitted the 'interface' and 'implements' keywords.

𝖗𝖔𝖒𝖆𝖓 .•°'s profile picture
𝖗𝖔𝖒𝖆𝖓 .•°1 year ago

There’s nothing *inherently* 🥁 wrong with it. The enemy is coupling and complexity. Of course if this is happening you’re operating outside of the use case scenario for multiple inheritance. Just lots of trying to save bad programmers from themselves going on in the industry today

Gil's profile picture
Gil1 year ago

ahaahhaah my professor is not gonna like this video

male tradwife's profile picture
male tradwife1 year ago

Multiple inheritance is not particularly worse than regular inheritance but regular inheritance is quite bad. Stateless interfaces should be used for polymorphism and delegation for code reuse

Related Videos