lua-users home
lua-l archive

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


Eugen-Andrei Gavriloaie <shiretu@gmail.com> writes:
> "Conversely, whenever a number is used where a string is expected, the
> number is converted to a string, in a reasonable format."
>
> So, they adopted a "reasonable" format for converting numbers to
> string. I think it is "reasonable" enough to adopt a format for boolean
> values too.

I think the common view is that Lua should move to doing _fewer_ such
automatic conversions, not more.  They generally seem to cause more
trouble than they're worth.

The "tostring" function is there, use it and be happy.

-Miles

-- 
Everywhere is walking distance if you have the time.  -- Steven Wright