On Sat, 23 Oct 2004 21:39:04 -0400
"Thomas J. Hruska" <[EMAIL PROTECTED]> wrote:
>
> At 09:14 AM 10/24/2004 +0800, Yin Ming writeth:
> >And don't use goto, it's root of devils. Your code is a typical while
> >loop:
>
> I use goto every once in a while. There are situations where using one
> helps code readability and/or maintainability and can occassionally help
> performance, but you have to know what you are doing to know when those
> situations are appropriate - and documenting why a goto is used is
> particularly helpful. For new programmers like the OP, goto is not the
> right way to do things. Use a while or for-loop instead (depending on the
> situation).
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
