[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Nit
From: |
Andrew Suffield |
Subject: |
Re: [Gnu-arch-users] Nit |
Date: |
Wed, 22 Oct 2003 03:58:35 +0100 |
User-agent: |
Mutt/1.5.4i |
On Tue, Oct 21, 2003 at 05:13:55PM -0500, Charles Duffy wrote:
> One effective difference between C and Java: While there may be some
> necessity of having an effective handler for any given error, Java's
> syntax allows clumping rather than checking individually.
You can actually accomplish this in C, by using a variable outside the
scope of the functions. For ISO C, this means using a global, which
means sacrificing re-entrancy; for GNU C, you can do it using nested
functions.
I've used it once or twice, but only that often - it's not widely
useful.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature
- Re: [Gnu-arch-users] Nit, (continued)
- Re: [Gnu-arch-users] Nit, zander, 2003/10/21
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/21
- Re: [Gnu-arch-users] Nit, zander, 2003/10/21
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/21
- Re: [Gnu-arch-users] Nit, Charles Duffy, 2003/10/21
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/21
- Re: [Gnu-arch-users] Nit,
Andrew Suffield <=
- Re: [Gnu-arch-users] Nit, Thomas Zander, 2003/10/22
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/22
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/22
- Re: [Gnu-arch-users] Nit, Ben Burns, 2003/10/22
- Re: [Gnu-arch-users] Nit, Momchil Velikov, 2003/10/22
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/22
- Re: [Gnu-arch-users] Nit, Dustin Sallings, 2003/10/21
- Re: [Gnu-arch-users] Nit, Tom Lord, 2003/10/21
- Re: [Gnu-arch-users] Nit, Dustin Sallings, 2003/10/21
- Re: [Gnu-arch-users] Nit, Miles Bader, 2003/10/21