|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Re: 'goto' in C code
|
From: Jeff Abrahamson <abrahj01@molbio.sbphrd.com>
|If you've never done it, emerse yourself in a language like lisp or
|scheme that has no concept of goto, not even in its socially
|acceptable forms ("contine," "next," etc.). You'll discover after a
|few weeks that goto is never necessary. That insight will help your
|write better code.
Or if you're really jonesing, write some code in assembler where the only
thing you have is a goto. Might be good to get it out of your system.
Plus, if you're *really* going to optimize your code, you're going to
fine-tune the assembly language the compiler emits, right?
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|