[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: duplicated local variables with same name
- From: Rena <hyperhacker@...>
- Date: Mon, 15 Jun 2015 13:21:17 -0400
On Mon, Jun 15, 2015 at 1:13 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> [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
>
You don't need OCD to appreciate the benefits of well-structured,
well-organized code and make it a rule for yourself to follow
formatting guidelines.
--
Sent from my Game Boy.