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.
Typo removed
Thank you for your suggestion ! This indeed sounds a good idea to make it interesting for a wider range of warriors
Thanks for your suggestions and pointing out the typo!
Reading the feedbacks it seems that the kata indeed lacks interest.
It was intended to let a beginner user find out how are adding computations performed at a low level scope, thus the intentionnal low difficulty for solving it. But maybe this is not a matter a beginner user cares about, in wich case the kata misses its aim.
I've been suggested to make it a golf code kata, wich combined to your suggestion sounds like a nice idea to make it more interesting
Maybe this kata should be a [Code Golf] one?
Your parameters might be better expressed as booleans. While the idea of adding two booleans could be a little strange to new programmers, I think if you are emulating a purely boolean environment it makes sense to use them. (ie.
one_bit_full_adder(True, False, True) => (True, False)
). But that's just my opinion, feel free to disregard.(It shouldn't even break existing solutions after all)
To be fair, I would say hardcoding is a valid method for this kind of function. But I agree it's not very interesting. But perhaps for beginners it is?
tupple => tuple
Typo in description
The sample space is so low that hardcoding the solution is child's play. This would be more interesting as code golf.
Thanks for your suggestions, just changed the expected output in Python from a list to a tupple, I'll modify the randomness logic of the tests this evening!
In this particular kata you don't need random tests, because you only have limited number of inputs. Instead, just test them all once. You may randomly shuffle the tests order, if you want.
Since you have a fixed number of outputs, I suggest changing output type to tuple.
It's indeed not a problem coming from the tests so the issue is no longer relevant about this specific Kata.
Thanks, I'll open an issue there ! Great kata by the way, still a lot of work to do to actually make it pass for real !!
That's very bizarre. I wrote this years ago. Maybe Jake Hoffner or someone at Codewars staff could take a look? https://www.codewars.com/topics/bug-reports
This comment is hidden because it contains spoiler information about the solution
Loading more items...