The Linux kernel has some 100,000 goto references. The Goto wars have been
around since the late 60's.
I use them, but rarely. I don't go out of my way to code around them. They
just happen when they need to happen.
This is a fun read: http://wiki.c2.com/?GotoConsideredHarmful
On Mon, Jul 9, 2018 at 5:15 AM firstname.lastname@example.org
> > some people are just too dumb to see the advantages that goto statement
> Fair enough, but if you read the tone of my post I did not say goto never
> makes sense, just that I personally have never used it and that pretty much
> everyone seems to be taught goto is evil. Personally, I would be willing to
> entertain valid usages. I think it must exist in multiple languages for a
> > if(status) goto done;
> > Which of them do you think is easier to read and maintain???
> I have seen code like this before. I personally prefer nested if's to
> facilitate cleanup lining up clearly through horizontal indentation. Both
> approaches I think are ugly. It's a developer decision. C++ Exceptions
> would solve this elegantly however.
> NTDEV is sponsored by OSR
> Visit the list online at: <
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at
> To unsubscribe, visit the List Server section of OSR Online at <
Disrupting the establishment since 1964
*This is a personal email account and as such, emails are not subject to
archiving. Nothing else really matters.*