lua-users home
lua-l archive

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


On Fri, Feb 19, 2010 at 12:13 PM, Christopher Eykamp <chris@eykamp.com> wrote:
> Why not have "." do the same thing that ":" does

they do two different things.  keeping the difference explicit allows
for great flexibility.  I, for one, love that even if the docs say:

string.format (s, args...)

you're allowed to do:

s:format (args...)

without the format() function having to have two versions, one
'OOP-like' and the other not.

-- 
Javier