Keith Collyer
Dec 6, 2021

--

I wouldn't say this is a general rule, but it can be a good thing to do in at least two cases:

1. To learn. Especially compare what you wrote with what is already in the library

2. To cover special cases. There used to be a library for FORTRAN (yes, I'm that old) from the Numerical Algorithms Group that often had several ways of doing what looked like the same thing, but in slightly different cases.

--

--

Keith Collyer
Keith Collyer

Written by Keith Collyer

I’m a husband, father, grandfather, retired Systems Engineer, bassist, cyclist and will write on any and all of those things as the urge takes me.

No responses yet