4 ms·
I've also seen template hierarchies so deep it was a major effort trying to figure out which template did anything besides forward to another template.
by WalterBright 3y ago
I've also seen template hierarchies so deep it was a major effort trying to figure out which template did anything besides forward to another template.
- DontchaKnowit 3y agoUgh yes. This has beeb my experience with Java code in large corporate projects. Just endless layers of seemingly pointless abstraction
- mpweiher 3y agoYep, that's because indirection is a necessary tradeoff for implementing OO systems in languages that don't fully support it, which surprisingly includes all current OO languages. People then get confused and think that indirection is the point. It's not. It would be better if the indirection weren't needed and we could express more than just procedural abstraction in our PLs.