Re:Inheritance was invented as a performance hack
by rectang on Thursday April 29, 2021 @10:41PM
(#26989352)
I suspect that many will read the title as derogatory, even if the post is not a firebreather. Also, from the conclusion:
> Personally, for code reuse and extensibility, I prefer composition and modules.
Re:Inheritance was invented as a performance hack
by FpUser on Thursday April 29, 2021 @11:14PM
(#26989527)
Every once in a while one concept goes out of fashion and another one becomes current fetish. Often the new is actually an old one and sometime is masquerading under new name. And then you have army of prophets that are here to show you "the right way". Rinse and repeat. Personally I read and try various things and use whatever I think is appropriate for given situation. Do not really give a fuck about what is the official point of view on subject at the moment. It changes of course if doing job for client and client insists on things done in particular way. Luckily I mostly design and build complete products so clients mostly care about the end result and do not interfere in the internal plumbing matters.
It's a bit of interesting history. I don't know why it would get a "Fine. But unrelated stuff" response.