Ad
  • Default User Avatar

    Original author here, finally (been super busy and super sick). I only wrote the original JavaScript version of this kata, and did not include random tests. I skimmed through the translated versions and most seem ok (well, I can't completely read the Haskell one, but that's my issue), but I think the Python version is the main problem here, right? From what I can see, its tests are pure junk (no offense meant to their author, being honest not mean). I don't know if there's a way to see specifically who did what when multiple people are involved in a kata's creation, so I will just write here, imploring the Python translator to address the testing issues. If not, when I get more time, I will try to fix it myself (lucky I've been learnin' me some Python). Disclaimer: I'm still very much a beginner/hobbyist coder.

    Oh, and cheers to all those who had kind words to say about the kata, despite all these testing issues. :)

  • Default User Avatar

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

  • Default User Avatar

    Sorry it took me a while. Just added a little note about n/s/e/w in the description to hopefully clarify it a bit more.

  • Default User Avatar

    Thanks. :)

    Near the bottom of the Details it says "you will always receive a valid array containing a random assortment of direction letters." I thought that was clear. Should I make it more obvious that direction letters means n/s/e/w ?

  • Default User Avatar

    Looked it over again, tweaked some more stuff. I'd say it's resolved. Thanks again. :)

  • Default User Avatar

    Good ideas. Thanks. Done. :)

  • Default User Avatar

    Fixed. Should be pretty clear now.

  • Default User Avatar

    Thank you for this in-depth message. I still consider myself a beginner in many ways (especially with testing...I'll work on that :) ). I used your test() function pretty much as is -- it was quite helpful, thank you.

    I think I addressed the issues you brought up, though I will refrain from marking this as resolved until I get a chance to step back from it and see it as a whole more clearly, or at least until others can confirm the issues have been addressed.

    My primary remaining doubt is that there may be edge cases I am missing in my tests....

  • Default User Avatar

    Hm. Not something I considered. I guess there's no reason not to allow them. They would just fall under the category of "walk is too long" (WAAAY too long :) ). So yes, that's fine.
    (also thanks to those below who posted some kind words about my first kata!)