3 ms·
Adding indirection makes code less maintainable.
by __loam 3y ago
Adding indirection makes code less maintainable.
- Jtsummers 3y ago> Adding indirection makes code less maintainable. This is why I hated Fortran (77 in particular) as an applications language (for tasks like scientific computing people seemed to use saner portions of it). Computed go tos were the bane of my existence.
- naasking 3y agoThat'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.