Ad
  • Custom User Avatar

    And the specifications of the kata are not respected, see issue above.

  • Custom User Avatar

    Ruby:

    • initial code is incorrect, the definition of the method should be def self.get_quote(quotes,hero)
    • the string index of the quote can be formed by several digits in hero, which contradicts the kata's specification.
  • Default User Avatar

    The rating on this Kata is low, but it is a good kata.

  • Default User Avatar

    Nice solution!
    You actually don't need the ternary conditional operator, because the default value of a boolean in Java is false.

  • Custom User Avatar
  • Custom User Avatar
  • Default User Avatar

    No code style, ' '%' '

  • Default User Avatar

    If you study mathematics or like math in general, the math related katas are fun.
    If you are searching for a job or you are about to take a test, you are more stressed to learn and you're interested in the "useful" ones, so math related katas can be annoying in that case.
    I had similar issues in the past. The thing that helped me was filtering katas, on the left part of the screen, select the appropriate tags.

  • Default User Avatar

    (closeStack.empty()) ? true : false; => closeStack.empty()

  • Custom User Avatar

    Ruby 3.0 should be enabled.

  • Default User Avatar

    Yeah you are right, that's my bad I apologize. Honestly I was just frustrated because I have a class on SQL coming up so I'm trying to learn it, and I go to do one of these challenges, and find the sql function or w/e that seems like it would do the job, and I plug it in using the same syntax I see on w3schools or wherever I found the info, and the interpreter on here will tell me it doesn't recognize the function or something. That's what I had been doing before this challenge. I wish there was a setting that would not allow me to type anything if my blood pressure rises above a certain level, maybe I should look into that. Clearly there is something I am still doing wrong with the SQL, but it is frustrating. Anyway, just wanted to say that since I'm not able to just delete my comment...

  • Default User Avatar

    Programming is a very wide field. Yes, you can do alot of programming without much math knowledge, but that is only because you are using a lot of libraries that do the math for you. Somebody has to write all these libraries and they need to know all this "useless math crap". So, please don't be ignorant and recognize the actual usefullness of these katas.
    If you don't want to dive into this sort of programming just skip those katas.

  • Default User Avatar

    Finally, I actually learned something related to programming from doing one of these challenges. The past 10 or 20 have all just been useless math crap I'll never have to know again unless I decide to do more of these challenges. Thanks to creator of this for actually helping me learn something related to Java.

  • Custom User Avatar

    Please use spoiler flag next time.

  • Default User Avatar

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

  • Loading more items...