logoalt Hacker News

ryaolast Thursday at 1:24 PM1 replyview on HN

That is exactly what I said you could say:

> You could say that I just did not do it right, but that is the problem. You need to know precisely what the future will want to do it right and that is never possible to know in advance.

Every time inheritance causes a headache, you can call it a misuse of inheritance, but that is only obvious after you have been to the future.


Replies

carmackfanlast Saturday at 1:37 AM

You don't need to precisely know about the future to know that inheritance isn't for sharing behavior. Unfortunate it's not really taught properly.

show 1 reply