News for hackers. Stuff that matters.
Re:MoonScript, a programmer friendly language that compiles ... by shalabhc on Tuesday May 30, 2017 @06:51AM (#14444320)
>

    function f(a, b, c, d)
        a = a or 1
        b = b or 2
        c = c or 3
        d = d or 4
    end
Compare with:

    f = (a=1, b=2, c=3, d=4) -> ...
Also note the latter is correct when you call it as f(false).

There are no comments on this comment yet.