lua-users home
lua-l archive

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


On Thu, Oct 3, 2013 at 2:04 PM, Justin Cormack
<justin@specialbusservice.com> wrote:
> Checking type() is wrong, Lua is a duck typing language.

While Lua just needs a quack, the libraries, including the standard
libraries, that integrate with it aren't. So then, you check type.

Delete the type function from Lua and then tell me how comfortable you
are with using Lua in day-to-day operations... :)

-Andrew