[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Thoughts on optional commas
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 5 Mar 2012 15:06:22 +0200
On Mon, Mar 5, 2012 at 2:54 PM, Dimitris Papavasiliou
<dpapavas@gmail.com> wrote:
> So what does this mean in the absence of commas? Does bar contain two
> values, one a function and the other the number two or just the number
> two returned after foo is called?
Well, that is truly nasty!
Moonscript is a cool little language, but it's got a few of these
whitespace issues and that just feels ... wrong.
Maybe regard a line feed in a list as equivalent to a comma, but that
would be one more rule to remember (and teach)
steve d.
(who likes commas)