Ad
  • Default User Avatar

    oow i didn't know that... sorry.

  • Custom User Avatar

    Please use spoiler flag next time, your posts here are visible for people who hasn't solved the kata yet in the homepage.

  • 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

    In this kata we have the example:
    "var helper = new PaginationHelper(new List{'a', 'b', 'c', 'd', 'e', 'f'}, 4);
    helper.PageCount; // should == 2
    helper.ItemCount; // should == 6
    helper.PageItemCount(0); // should == 4"

    But you can't use it like this:
    helper.PageCount; // should == 2
    helper.ItemCount; // should == 6

    Those are props - not a method!

    And this kata is stupid. I wrote my code - and pass all 17 test and then pass 63 from 65 when was trying to submit. So - i rewrite it twice - but the same result - 63 tests were good. In my ps i couldn't reproduce any errors - so - i picked up this solution.

    This is the first time i use someone's solution - but thit kata is so lame!
    I know how to solve it - but they said - that it didn't pass some misterrious tests - i don't even know what kind of tests...

    So, i got 63 from 65 =)

    With love =)

  • Default User Avatar

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

  • Default User Avatar

    This is genius! =) Simple as a stone - elegant as a butterfly! =)