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.
There is
require
only formodifier
in the comment:But there's no require in the comment of
sendGift
buf only if:Is there some reason I'm missing that constants, reference tables, and the like aren't included in the "Initial Solution" where you can just... see them? At least in go (which is all I've done katas in so far), I've yet to see one do so, and only rarely seen one where the assist data was even correctly identified.
eerrrr... x)
names are short but easy to understand:
Following blindly indentation/linefeed rules of """best practice""" style is unwise, imo. THIS can make a code completely unreadable while putting inline condition and statements can make the code VERY clear and readable, ands so, easier to follow. I'd even align the first 3 statements with the fourth, to get an even clearer/evident structure ("oh damn, I would use useless whitespaces, this way. That's not recommanded 8o" ).
This code can be considered BP, yes. Clear, easy to understand, short but not too much. You want to debbug it? Just put a print statement somewhere, you'll have all what you need as variables to follow the state of the code. One letter variables names? yes, not the best way, but honestly, for 9 lines of code, that won't be a problem.
There are the rules, and there are things on the field that actually makes the code "play nicely".
Sorry for being so much sarcastic, but... yes, stumbbling from my bed, I almost hurt my head reading this... ;)
Well, cheers and have a good day. ;)
The user who wrote the Rust translation appears to have deleted their account. I've removed the Rust translation.
.
Approved. :)
This has failed tests and apparently is not published yet. Can you check and see what is wrong?
Hi Keozon. I confess I've been practically absent in the past year :(, but I still read my mails.
If you decide to translate this kata in Rust, I'll be glad to aprove it. I have no experience in Rust, but I think I'll be able to read it anyway.
Ok. Thanks for the explanation.
Approved. Good job.
Maybe I will add an hint in the submit tests with that link to the github issue.
Thanks for doing the Rust Translation! :-=
But the random tests are missing.
Please add them, and then I will check again and approve it.