lua-users home
lua-l archive

Re: Request For Comments: 3-space indentation style

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


On Sun, Jan 5, 2014 at 12:48 PM, Joseph Manning <manning@cs.ucc.ie> wrote:
> Incidentally, on the topic of indentation, I also indent my 'end's,
> since it makes it easier to spot the start of the next statement.
> However, it appears that such a level of indentational enlightenment
> is quite rare amongst other Lua programmers :-)
Indeed, sir! I'd find it a little strange at first (basically have to
boot up my Python visual recognizer)
Can't say I have a standard preference; ldoc is 3, Penlight is 4.
Tabs are (of course) for other people. For vim users who produce
files with indentation built from a mixture of spaces and tables,
remember that just averaging between two standards does not lead to
sanity.

AltStyle によって変換されたページ (->オリジナル) /