2 ms·
I love these. A side note: the GOTO paper is misunderstood by modern (non-)readers, much as the writings of Adam smith would horrify most of his contemporary a
by gumby 4y ago
I love these.
A side note: the GOTO paper is misunderstood by modern (non-)readers, much as the writings of Adam smith would horrify most of his contemporary advocates. At the time Dijkstra wrote it, it was common for functions to have multiple entry points as well as multiple exits (as they still do today). In addition, due to the limits of memory, the importance of the not yet named DRY principle was extreme, not for today’s reason (clarity and maintainability) but simply to use less program memory, so people would jump willy-nilly into unrelated blocks of code just to avoid writing stuff out. You can still do these things in assembly (as was common back then) but modern languages make it hard to do.