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.
Agreed, I didn't understand functional programming and had absolutely no real idea of what I were doing when I submitted this solution. Simply
student
would be the more obvious, clearer name for it. :)Should tag your comment as an issue, author probably isn't notified otherwise I'd guess.
That's basically the gist of it, yeah. It's clean, easily understandable and not verbose - but not the most efficient solution.
This comment is hidden because it contains spoiler information about the solution
A few test cases with both random numbers and random amounts of arguments could be useful.
Absolutely true, refactored the entry with that. Bad habit to just make the if else on autopilot I guess.
Aah, you are still around. :D
I am submitting the Java version, seems something is glitching up when submitting here.
This post is over two months old, issue is still not resolved. Author of the Kata is no longer around I guess? Can anyone else review it?
Probably just me being a retard, but I thought the task was asking me to convert the integer to a double and return it. Am not a clever man. >_>