[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: duplicated local variables with same name
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 15 Jun 2015 14:13:59 -0300
> [It's a shame that declaring blocks that limit temporary variable
> scope isn't more popular, perhaps the extra two lines and bonus
> character in 'end' bothers OCD people like myself. I'm a fan of using
> {} in C code but I admit it always looks weird.]
For me the problem is not the extra two lines, but the need to ident the
code inside the block. (Of course, for those that are not OCD, there is
always the option of not identing that code...)
-- Roberto