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.
What is going on with this.
No example tests. No random tests. "Solve without using division" but this isn't tested. "Analyse .." OK, and then? Are we tested with a humongous array? .. no.
Quite some missed opportunities here.
@brassington Why add the function? Just remove all code. Making stuff compile is trivial, if there is nothing which can fail. That's why I don't think this is a good Kata.
Also, your TDD tests are still the default. Imho, you should at least give one example, like calling
main
andcall_me
successfullyThis comment is hidden because it contains spoiler information about the solution
To clarify, you think the name of the Kata is misleading? Or that it needs to verify whether the user submits valid code?
This comment is hidden because it contains spoiler information about the solution
Thanks, would you prefer the Kata was renamed? What can I do to improve this Kata?
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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Unfortunately now I can't remember what the errors were, however I don't think they were typical compiler errors. For instance I added the annotation -> i32 to sale_price, and the kata would not pass.
Thanks for the feedback, there are still some ambiguities that need to be worked out. If possible can you describe any of the weird errors you ran in to? It's possible they were the compiler errors for Rust. Assuming they were the Rust compiler errors, maybe we I should include a word of warning/introduction to Rust compiler errors...
This comment is hidden because it contains spoiler information about the solution
Loading more items...