Ad
  • Custom User Avatar

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

  • Custom User Avatar

    aaaaagh! my brain just looked straight through that :(

  • Custom User Avatar

    ok, thx. Tho... vaccinated would be better than vaccianted, too... x)

  • Custom User Avatar

    The first one would have been okay if be had been been (lol). Your version is correct and more explicit.

  • Custom User Avatar

    maybe that's because I'm not native, but this sentence seems incorrect to me, considering the task:

    If the dog has not be vaccianted or wormed, the dog can not be accepted.

    I feel like this is more appropriate:

    If the dog has been neither vaccianted nor wormed, the dog can not be accepted.

  • Custom User Avatar

    Not an issue.

  • Custom User Avatar

    Ruby :

    -for a 7 kyu, having no starting code is a bit harsh for beginners
    -with out access to the class code, a beginner isn't going to easily know what are the types of the attributes

  • Custom User Avatar

    What is this if/else/ternary thingy you are talking about? :P

  • Custom User Avatar

    Great Kata. Voted 6kyu for the following reasons:

    1. Simple instructions (mainly if/else statements for beginners and a compound ternary statement for experienced programmers) so about 7kyu difficulty
    2. Complex programming concepts such as editing prototypes which makes it a bit too challenging for 7kyu programmers --> therefore 6kyu

    Keep it up! :D

  • Custom User Avatar

    .this is totally a hint

  • Custom User Avatar

    Nice kata! Translated into ruby and CoffeeScript for your review and approval.

    FWIW, at the time I did the translation, the average difficulty rating for this kata was too low. Object-oriented is at least level 6. Re-opening a class (or extending an existing prototype) is generally harder than creating a new class, however this kata is really nicely written as an entry level task for the concept, so would likely stay at level 6.