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 missing char. Anyway, many thanks for this kata. I learnt something very useful.
I'm new to Java. I'm wondering if using exception handling for control flow is really considered best practices, since that's what the majority of the solutions have done. I've generally understood coding by exception to be an anti-pattern, and the solution with the most "Best Practices" votes seems to be a particularly egregious example.
I liked this kata.
Suggestion: Testing for "9223372036854775808" would make it a little more interesting.
My solution used the length of the string to determine if it were a long or none, and it passed even though "9223372036854775808" would have returned long.
Nice Kata! For Java - it might be an idea to explicity state that there should be exception handling as this is good coding practise.
i fixed it
There are typos in the description. I remember currently only one "hugh" instead of "huge"
You missed
char
; unsigned 16-bit integer. :-)Thanks for the kata!