Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2001 10:06:26 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        "Brian F. Feldman" <green@FreeBSD.ORG>
Cc:        Bruce Evans <bde@zeta.org.au>, Chris Faulhaber <jedgar@fxp.org>, Maxime Henrion <mux@qualys.com>, audit@FreeBSD.ORG
Subject:   Re: [PATCH] wall.c changes from OpenBSD 
Message-ID:  <200104281606.f3SG6QR19732@harmony.village.org>
In-Reply-To: Your message of "Sat, 28 Apr 2001 11:36:16 EDT." <200104281536.f3SFaHJ30047@green.bikeshed.org> 
References:  <200104281536.f3SFaHJ30047@green.bikeshed.org>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200104281536.f3SFaHJ30047@green.bikeshed.org> "Brian F. Feldman" writes:
: What was the justification for disallowing usage of proper variable block 
: scoping?

It makes the code harder to understand, many compilers (at one time)
produce worse code and they violate the idea that you can look for the
variables in one place.  It is also easier to introduce shadow
variables at inner scopes which mades the code harder to debug.

Warner

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




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