lua-users home
lua-l archive

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


On 05/01/2014 10.33, Choonster TheMage wrote:
Personally, I've always used tabs set to four spaces for my Lua code.
This is probably because it's the default setting in Notepad++ (the
first programming editor I used).

I switched from two to four spaces ages ago [1] and stayed there, but being an author I can fully appreciate the reason for using two spaces in a book (and the need to balance name readability with the available horizontal space).

[1] I think I used eight spaces in early assembly language code, but you don't need indentation there.

Well, it's just a convention, probably not deserving the number of messages written about it (including this one).

--
  Enrico