News for hackers. Stuff that matters.
Re:Why bad scientific code beats code following "best practi... by __loam on Saturday January 06, 2024 @02:02AM (#38889157)
Adding indirection makes code less maintainable.
Re:Why bad scientific code beats code following "best practi... by Jtsummers on Saturday January 06, 2024 @02:11AM (#38889215)
> 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.

Re:Why bad scientific code beats code following "best practi... by naasking on Saturday January 06, 2024 @11:54AM (#38892958)
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.