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.
I wouldn't be sure about the being more performant point.
I see. I misunderstood the UI for 'new comment' as a nested comment.
How come this works if it's not even executing the method?
No need for a temp variable, you can use chaining.
You can compare chars directly.
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.