Ad
  • Default User Avatar

    Such an awesome solution! Well done!

  • Default User Avatar

    Nice, I like this too. It didn't occur to me.

  • Default User Avatar

    My bad, thank you.

  • Custom User Avatar

    Haskell

    ­

    recursion

    ­

    writing JS

    Uhm... okay?

    Also, the function used in the kata is named solution, not breakIntoPairs.

  • Custom User Avatar

    To be fair, pretty much all old katas doesn't have random tests. And jhoffner kinda prefers people to write their own tests as part of the coding process (source: from one of his blue katas).

    It already has over 500 solves, so the test cases are locked. Gonna resolve this.

  • Custom User Avatar

    What did not make sense? Which tests?

    You know when a test fails it gives the reason back, right?

    Why did you choose not to post the message out when posting a issue?

    How would people be able to help you in this case?

  • Custom User Avatar

    There are tests. It just doesn't have example tests because jhoffner usually prefers people to write their own tests as part of the coding process.

  • Custom User Avatar

    There are tests. It just doesn't have example tests because jhoffner usually prefers people to write their own tests as part of the coding process.

  • Custom User Avatar

    There are tests. It just doesn't have example tests because jhoffner usually prefers people to write their own tests as part of the coding process.

  • Default User Avatar

    I can't see any tests for this in JavaScript. Though when I submit, it says 5 Tests Passed, and one failed, but the reason for the failure is super strange, it makes no sense.

  • Default User Avatar

    Strange enough my code passes all the test in the nth fibonacci kata with, but this one with fixed signature it does not. That is why I agree with the perso who created the question.

  • Custom User Avatar

    I wonder if there is anyway to fix that: provided I find someone that can correct the current testing code, I could then copy&paste it, as I myself could barely do a hello world in C#...

  • Default User Avatar

    If you're doing this in C#, don't bother. It doesn't work even if you've done it correctly and get your tests passing. Not getting any reply from person that translated this Kata to C# either.

  • Default User Avatar

    Hi hbakhtiyar

    I am getting an error when doing this on C#. My tests pass, but when I submit, I get an error. See my other comments.

  • Custom User Avatar

    Scroll down up to hbakhtiyor comment telling that he translated the kata.

  • Loading more items...