lua-users home
lua-l archive

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

To quote the Linux kernel coding style guide:

"...The answer to that is that if you need
more than 3 levels of indentation, you're screwed anyway, and should fix
your program."

Now, I feel like 3 levels as a minimum may be a bit extreme, but I
agree with the general idea: if you've got too many levels of
indentation, you've got room for improvement.  The same principle
applies to Lua, in my opinion.  It's a little harder for Ruby, though,
with module+class+def...


On Thu, 21 Jul 2011 02:02:06 +0800
Johnson Lin <> wrote:

> Actually this discussion comes from:
> annnnnnnnnd I think it's fun to talk about :p  What do Lua
> programmers say?
> --
> Johnson Lin

Attachment: signature.asc
Description: PGP signature