Liste des Groupes | Revenir à cl c |
On Tue, 24 Dec 2024 09:05:27 -0800, Tim Rentsch <> wrote:
>In my view using goto should always be done on a case-by-case basis>
and not under any general rule. More specifically, when first
writing a function it should be written without using goto (which is
always possible). If something about the code feels off, write it
another way, still without using goto. Continue re-writing in this
way as long as the results are dissatisfying, up to perhaps four or
five versions (in some cases I have done a lot more than that). In
many cases function bodies start off too large, and the code can be
simplified and clarified by breaking a function into several smaller
sub-functions; doing that often removes any sense that goto is
needed.
in my vew
goto it is needed because all that high level language is traslated in
the end, in easy istructions that use goto
Les messages affichés proviennent d'usenet.