lua-users home
lua-l archive

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




On 04/03/2017 04:26, Dirk Laurie wrote:
> What is the main reason for using Luacheck?
>
> (a) A debugging tool.
> (b) Enforcing a certain style of coding.
> (c) Advising a programmer on things in his program that
> might make trouble one day.
>
> Unless you use it for (b), I would not be concerned about the
> occasional extra warning in situations where any human can
> see it is OK. 
Dirk,
If you allow warnings in your output then you enter the broken windows
situation [1]

[1] https://en.wikipedia.org/wiki/Broken_windows_theory