3 ms·
That's not correct as an unqualified statement. Sometimes indirection adds exactly the flexibility you need and that would otherwise require duplication (like g
by naasking 3y ago
That's not correct as an unqualified statement. Sometimes indirection adds exactly the flexibility you need and that would otherwise require duplication (like generic collections/containers).
The more correct statement is that using more or less indirection than you need makes code less maintainable.