Ad
  • Custom User Avatar

    Typo removed

  • Custom User Avatar

    Thank you for your suggestion ! This indeed sounds a good idea to make it interesting for a wider range of warriors

  • Custom User Avatar

    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

  • Custom User Avatar

    Maybe this kata should be a [Code Golf] one?

  • Custom User Avatar

    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)

  • Custom User Avatar

    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?

  • Custom User Avatar

    tupple => tuple

    Typo in description

  • Default User Avatar

    The sample space is so low that hardcoding the solution is child's play. This would be more interesting as code golf.

  • Custom User Avatar

    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!

  • Custom User Avatar

    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.

  • Custom User Avatar

    Since you have a fixed number of outputs, I suggest changing output type to tuple.

  • Custom User Avatar

    It's indeed not a problem coming from the tests so the issue is no longer relevant about this specific Kata.

  • Custom User Avatar

    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 !!

  • Default User Avatar

    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

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Loading more items...