Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 10:17:33 -0500 (EST)
From:      Kenneth Culver <culverk@alpha.yumyumyum.org>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        Paul Richards <paul@freebsd-services.com>, Matthew Dillon <dillon@apollo.backplane.com>, Mike Barcroft <mike@FreeBSD.ORG>, "M. Warner Losh" <imp@village.org>, <jake@locore.ca>, <cvs-committers@FreeBSD.ORG>, <cvs-all@FreeBSD.ORG>
Subject:   Re: cvs commit: src/sys/i386/i386 critical.c src/sys/i386/include cpufunc.h critical.h src/sys/i386/isa apic_vector.s icu_vector.s src/sys/kern kern_fork.c kern_proc.c kern_switch.c src/sys/alpha/alph
Message-ID:  <20020402101557.P45652-100000@alpha.yumyumyum.org>
In-Reply-To: <20020402101952.GE31350@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> Isn't it normal in C++ (cough) as well?
> J.
>
It's allowable, but about the only place I see it is in things like this:

for(int i = 0; i < SOMENUM; i++) {
...
}

In many schools they deduct points from programming projects for declaring
variables anywhere but the top of a function.

Ken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020402101557.P45652-100000>