lua-users home
lua-l archive

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


On Wed, Mar 9, 2011 at 5:29 PM, Doug Currie <doug.currie@gmail.com> wrote:
> Is there any reason that you would not want string.format to apply tostring to a userdata provided for a %s argument?

It forces stricter type checking, that's basically it, and is one less
_implicit rule_ that needs to be taken into account. A special format
specifier feels like more in the spirit of string.format.

steve d.