[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] An extended Lua FAQ
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 4 Aug 2009 08:09:19 +0200
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.