lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Roberto Ierusalimschy once stated:
> > [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...)

  I can just highlight the code in my editor and shift the text as needed
(left or right---and my editor respects my preferred indent level).

  -spc