4 ms·
> FORTRAN-77: You don’t have any dynamic memory or data structures, so this is impossible in the first place. It's easy to write a linked list in FORTRAN-77, u
by zabzonk 6y ago
> FORTRAN-77: You don’t have any dynamic memory or data structures, so this is impossible in the first place.
It's easy to write a linked list in FORTRAN-77, using an array as the underlying storage - I've done it several times.
- jonathankoren 6y agoI one time took a class that introduced every linked data structure (lists, trees, stacks, queues, etc) with statically allocated arrays. Only later did they show the dynamic memory implementations. I thought it was a bit weird at the time, but now I guess it was to get students to focus on the data structure, instead of worry about pointers.
- karmakaze 6y agoSimilarly for recursive algorithms in COBOL, before the newfangled RECURSIVE program type.
- zabzonk 6y agoNay! This ungodly nonsense be flying in the face of nature! Some things Man was not meant to meddle with.