Ad
  • Custom User Avatar

    Yup, came here to say that. all the invalid input tests are mostly just annoying, don't make much sense, and make everybody's code look worse.

  • Custom User Avatar

    ever so slightly more pretty. I was thinking the same thing!

  • Custom User Avatar

    This is an old kata and back then nobody has any concerns about kata designs, naming practices or even comprehensive tests... groans And they even think that input validation is cool and is a valid way to sprinkle "difficulty" to katas, that pretty much all mediocre katas demand some form of trivial and yet annoying input validation.

    I'm not going to revamp the entire kata and add comprehensive, random tests to all languages since it belongs to a massive batch of duplicates anyways (see this list), but I just fixed the setup code and change is_valid to valid?. It breaks all current solutions, but it's just ~250 of then, so I guess it's okay ;-)

  • Custom User Avatar

    EEerrrmmmm... Or the honor points? Or the progress feature...? ;) (well, the last one evolves slower and slower, yes)

  • Custom User Avatar

    Erm, do you mean the Kata section of your profile where you can find a list of all your solved and not solved katas?