lua-users home
lua-l archive

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


2017-03-05 13:00 GMT+02:00 Liam Devine <liamdevine@oolua.org>:
> 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

Wow!

So is flagging "unpack or table.unpack" for using an undefiined global
politically correct or not? Or is the whole question irrelvant in the Trump
era, when "politically incorrect" is the new "politically correct"?