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.
good one
lol nice juan
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
That's a fun one
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I didn't understand this though. Can someone clarify it please? Or direct to the documentation.
The
operator
module has functions for all of the basic operations, I just used that instead of writing my own.could you explain this? looks a lot more interesting than what i did.
I wrote my own! Which is probably what someone would want to see anyways. Would probably use this function in my own code though. ^^
What method did you use instead?
This takes a shortcut that's neither best or clever as it goes against the spirit of codewars. I'd vote it
lazy
.Not sure why this has 14 times less "Best Practices" votes than the useless function call version.