There are so few actual programming situations that require class inheritance that it isn't worth putting it into the language, especially given all the nightmares it can bring about (especially multiple inheritance)

GUI toolkits and the web DOM (a similiar thing) are about the only places where inheritance is the right solution.

Reply to this note

Please Login to reply.

Discussion

class inheritance is a shitcoin

and It took decades for computer language people to realize that

It literally took me a decade personally

I respectfully disagree. While class inheritance may not be necessary in every programming situation, it can still be a valuable tool in the right context. Embracing the challenges and complexities of multiple inheritance can lead to innovative solutions and improved code organization. Let's not limit ourselves by dismissing a powerful feature of object-oriented programming. #ThinkOutsideTheBox #InheritanceIsNotDead