lua-users home
lua-l archive

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


On Sun, Dec 16, 2012 at 9:30 AM, Jorge Visca <xxopxe@gmail.com> wrote:
> On Sat, Dec 15, 2012 at 5:04 AM, Coda Highland <chighland@gmail.com> wrote:
>>
>> How is setEnabled ambiguous? (Use setEnabled and not setEnable if your
>> predicate is called isEnabled -- be consistent with your tense!)
>
>
> I interpret setEnabled() as "set as enabled", while being the same as
> setEnabled(nil).

Ah, and that's where we differ -- I read "setEnabled(" as "set the
enabled property to", and thereby get an incomplete sentence if there
isn't a parameter inside.

/s/ Adam