News for hackers. Stuff that matters.
Re:Lemon – An embeddable, lightweight programming language i... by bpicolo on Wednesday October 25, 2017 @09:13AM (#15549773)
Why is the `var` keyword required in function arguments if it's dynamically typed and there's no other possible option?
Re:Lemon – An embeddable, lightweight programming language i... by billytetrud on Wednesday October 25, 2017 @03:06PM (#15553136)
So you don't create variables when you typo a variable name. Declarations are an error catching mechanism
Re:Lemon – An embeddable, lightweight programming language i... by fasquoika on Wednesday October 25, 2017 @11:09AM (#15550738)
This is a complete guess, but maybe so they can treat it the same way as normal variable declarations
Re:Lemon – An embeddable, lightweight programming language i... by ateesdalejr on Wednesday October 25, 2017 @01:26PM (#15552079)
Might be. Probably reusing the same pattern matching code in function definitions.