lua-users home
lua-l archive

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


> On 14/12/12 16:41, Thijs Schreijer wrote:
> And when writing an API from scratch, which one annoys the user the less?

Why not two functions, enable() and disable()?
Otherwise I prefer the version that makes sure you pass a boolean.

-- 
Pierre Chapuis