Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 1  
09 Jul 18 13:16
Jamey Kirby
xxxxxx@gmail.com
Join Date: 31 Dec 2014
Posts To This List: 292
Re: RE: RE: Re: [BULK] Re: Modern C++ Features in Kernel Mode Drivers

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 xxxxx@gmail.com <xxxxx@lists.osr.com> wrote: > > some people are just too dumb to see the advantages that goto statement > offers > > 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 > reason. > > > if(status) goto done; <...excess quoted lines suppressed...> -- Jamey Kirby Disrupting the establishment since 1964 *This is a personal email account and as such, emails are not subject to archiving. Nothing else really matters.* --
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 19:25.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license