[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] MoonScript v0.2.2
- From: Craig Barnes <craigbarnes85@...>
- Date: Mon, 5 Nov 2012 02:53:14 +0000
On 5 November 2012 01:51, Xpol Wan <xpolife@gmail.com> wrote:
> Its unfair when in the documents:
>
> where a lua local function like:
>
> local sum
> sum = function(x, y)
> return x + y
> end
>
>
> could be shorten like:
>
>
> local function sum (x, y)
> return x + y
> end
>
> in all documents, the lua local function are intended to write in the longer
> form...
>
I don't think it's intended to be a competition. The Lua
code is just the output produced by the MoonScript
compiler.
Personally I think it's an nice little language. Like
Metalua, I wouldn't use it for everything but it seems a
good fit for some coding styles and integrates well
enough with regular Lua to not be a burden.