Ad
  • Custom User Avatar

    Hey Alan it's Paul! I see you're completing a great deal of code challenges on here! Just wanted to say congrats, respect and I'd better watch out, you're going to overtake me any day here!

  • Custom User Avatar

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

  • Custom User Avatar

    There is a big difference between frustration because something is difficult and irritation because something is asinine. The former is par for the course with programming, the latter is bound to happen sometimes, but better avoided when possible.

  • Custom User Avatar

    Sorry about that, I meant having extra edge cases on purpose, such as 1 digit numbers not being a palindrome, makes the kata less enjoyable while not really adding anything. There are kata which focus on input validation, which is fine, but to have extra input validation steps that don't need to be there when this is not the focus of the kata takes away from the experience. It's not a huge deal, but reading through the other comments it looks like I'm not alone in feeling this way. I appreciate the time people volunteer to make kata, hope the feedback is helpful and again sorry for the vagueness!

  • Custom User Avatar

    Suggest not having awkwardly forced edge cases. They should arise naturally from the problem, otherwise they are just irritating.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Awesome kata, thanks! A well posed problem with lots of interesting design decisions to consider. Looking forward to improving my rather ugly solution to an elegant problem!

  • Custom User Avatar

    You can increase the recursion limit (in your solution) by importing sys
    and using sys.setrecursionlimit()
    Probably not recommended, but it sure feels good thwarting Guido Van Rossum's will. Sorry Guido.
    The problem with learning recursion is that the examples that are easy(ish) to understand,
    are usually terrible examples of how to actually use it.

  • Custom User Avatar

    Looking forward to doing this one! I have a history of mathematics book that goes into great detail about Egyptian fractions in the second chapter. It's been a while since I looked at that book, but I remember it being fascinating!

  • Custom User Avatar

    This hits close to home on an almost creepy level
    Maybe not the excellent coder part

  • Custom User Avatar

    Oh, I absolutely agree! I hope those in the comment section can adopt the same attitude over time. For those with the patience to stick with it, it's just another part of the problem solving process eventually, and even part of the fun! It bums me out to see so much negativity, but I guess learning to assume your own code is most likely what is broken is just something that comes with maturity as a programmer.

  • Custom User Avatar

    That makes sense, it's just too bad that so many people were so frustrated by this kata. I didn't have any issues with it since I saw right away there were only two reasonable choices about when to do the integer division and tried both of them. Sorry if my suggestion wasn't helpful, I'm pretty new to the site. It just makes me sad to see so many people tearing their hair out over a triviality.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Loading more items...