Comment

Comment by elviejo

In Eiffel we have multiple inheritance. It's such a powerful tool. And a natural way to model the world. For example if you think of your typical OOP book You have Vehicles with engines * cars that move on roads * planes that move on air * and boats that move on water.

But then comes an aqua-plane and it breaks your inheritance tree!

But with multiple inheritance is the most natural thing to have a plane that is also a boat and a car.

In Eiffel we favor the appropriate tool that better represents the world.

parent elviejo 11 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton