Lawrence D'Oliveiro <ldo@nz.invalid> writes:
On Fri, 29 Dec 2023 23:22:53 -0300, Julieta Shem wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
Arbitrary gotos:
-- useful/desirable? Not so.
Very useful, very desirable.
Come on ... you don’t mean you code that way, do you?
I do and, of course, I'm not the only one.
Knuth, Donald E. ``Structured programming with /go-to/ statements.''
ACM Computing Surveys (CSUR) 6.4 (1974): 261-301.
On Sat, 30 Dec 2023 17:17:07 -0300, Julieta Shem wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
On Fri, 29 Dec 2023 23:22:53 -0300, Julieta Shem wrote:
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
Arbitrary gotos:
-- useful/desirable? Not so.
Very useful, very desirable.
Come on ... you don’t mean you code that way, do you?
I do and, of course, I'm not the only one.
Knuth, Donald E. ``Structured programming with /go-to/ statements.''
ACM Computing Surveys (CSUR) 6.4 (1974): 261-301.
Frankly, I don’t know how realistic his examples were: all I can say is, dynamic memory allocation was a lot less common in his day.
Here’s my exposition on goto-free programming, and why it’s such a good idea: <https://gitlab.com/ldo/a_structured_discipline_of_programming/>.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 388 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:59:41 |
Calls: | 8,221 |
Files: | 13,122 |
Messages: | 5,872,631 |