News for hackers. Stuff that matters.
Re:My Language Is More Agile Than Yours: A Study of Arc by andreyf on Thursday May 28, 2009 @05:02AM (#629956)
For the toy example, sure. But as soon as the example gets at all more complicated, you'll need to throw the function(it){} back in.

Also, it's worthwhile to remember that aif does a bit more - it's semantically the equivalent of cond, which sometimes eliminates a ton of if/else blub.

Re:My Language Is More Agile Than Yours: A Study of Arc by latortuga on Thursday May 28, 2009 @04:14PM (#630955)
https://developer.mozilla.org/en/New_in_JavaScript_1.8#Expre...

New in 1.8 you can omit the return and curly braces. So at least a little improvement!