Ad
  • Default 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!

  • Default User Avatar

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

  • Default 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.

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

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

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

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

  • Default 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.

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

  • Default User Avatar

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

  • Default 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.

  • Default 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.

  • Default User Avatar

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

  • Default User Avatar

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

  • Loading more items...