lua-users home
lua-l archive

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


On Mon, Aug 3, 2009 at 9:47 PM, Colin<colin.hch@gmail.com> wrote:
>
> Presumably there are some other reasons for this design decision.
> Actually, I darkly remember something, let's check... Yes, the
> "Evolution" paper on Lua says "Because the language allows coercion of
> strings to numbers, a + signal would be ambiguous; so, we created the
> syntax .. (two dots) for that operation [concatenation]."

>From my limited Javascript experience, you get ugly messes! Just one
of things which makes lua->JS/JS->lua translation harder than it might
appear at first.

steve d.