[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r9716 - trunk/subversion/libsvn_wc

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-15 19:58:40 CEST

On Sat, 2004-05-15 at 12:56, Ben Reser wrote:
> As far as harp on this stuff. I don't see how this is any less
> appropriate than people harping on spaces between parenthesis.

Spaces before parentheses is a matter we specifically try to maintain
consistency on within files, because it can be hard to read code with
the distraction of style variations. We have no such tradition with
variable scoping.

> You can also move the declaration of
> each local variable into the smallest scope that includes all its uses.
> This makes the program even cleaner."

That's pretty wishy-washy. Sometimes it's cleaner to declare the
variables in an outer scope because it saves a line of code, or because
you don't want to break up the flow of statements with a declaration.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 15 20:02:28 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.