[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Did they mean "." or ":"?
- From: Javier Guerra <javier@...>
- Date: Fri, 19 Feb 2010 12:34:47 -0500
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