Re:GorillaScript
by Aqwis on Sunday July 07, 2013 @05:33AM
(#6001583)
Too bad it doesn't have list comprehensions. That's something I sorely miss when writing most mainstream languages apart from Python. (I know CoffeeScript has them.)
[ Parent
| on HN ]
Re:GorillaScript
by cameronkknight on Sunday July 07, 2013 @07:03AM
(#6001712)
Actually it does have list comprehensions. You just use a for loop (or any loop) as an expression and it evaluates to an array.