Загрузка видео...

Не удалось загрузить видео

На главную

Morning bathrobe rant: multiple inheritance.

43,759 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля Ren
Ren1 год назад

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

Фото профиля The Liberation Project
The Liberation Project1 год назад

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

Фото профиля Tom Siwik
Tom Siwik1 год назад

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

Фото профиля James Landrum
James Landrum1 год назад

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
kosine1 год назад

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
Uncle Bob Martin1 год назад

Interfaces ARE abstract classes.

Фото профиля Rolf Wilms
Rolf Wilms1 год назад

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
Uncle Bob Martin1 год назад

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

Фото профиля 𝖗𝖔𝖒𝖆𝖓 .•°
𝖗𝖔𝖒𝖆𝖓 .•°1 год назад

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
Gil1 год назад

ahaahhaah my professor is not gonna like this video

Фото профиля male tradwife
male tradwife1 год назад

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

Похожие видео