Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/214.
Please join the discussion to help us identify duplicate kata and retire them.
I see. I misunderstood the UI for 'new comment' as a nested comment.
Sorry, but I was replying your first comment.
Yep, that's what I said. (?)
Sometimes parenthesis let your code cleaner.
Sorry, I meant in this case. There are also other cases in which, even if you accept parameters, it gets very messy if you don't use parenthesis. Write comprehensible code above all.
not strictly true though. that'll hold if you're invoking a function that accepts parameters. if it doesn't and you don't type
()
, that statement will evaluate to the function, not the result of invoking it.Parenthesis are unnecesary in CoffeeScript though.
Beautiful. Can't believe it didn't cross my mind.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution