Ad
  • Custom User Avatar

    Is there a reason why I'm failing the tests despite the expected solution being ok? Maybe I am missing something.

  • Custom User Avatar

    The instrunctions were kinda confusing for me. At first I understood that in order to be senior, the handicap would have to be lower than 7. Made sense in my mind, because I thought to be a senior you would have to have a good handicap. Only after the first test I understood that it is meant to be the other way around. Might help to adjust the instructions a bit, so it becomes clearer. Or it's just me, not having the slightest idea about croquet clubs and handicaps ¯_(ツ)_/¯

  • Default User Avatar

    Why is (255,1) a senior? Should it not be open? since the handicap is less than 7
    and if (255,1) is senior then why is (73,1) considered open?

  • Default User Avatar

    Hello! I simply want to ask people who has been programming for awhile (preferably with work experience) wether they find Linq to be a best practice or not? I'm a C++ programmer so boiler code and complexity is nothing new to me. Which is also why I prefer to write function bodies with regular loops/recursion. But linq has the advantage of one liners and looking amazing, but often suffer in performance and at time clearity for larger queries. So I'm asking the precent Linq spokes-ppl and us performance maniacs to endulge in a conversation of pros and cons :)

    I'll Start:

    I find Linq to be an amazing tool, providing both clarity (more often then not), one line syntax, easier querries and easier maintanability. But at the same time it suffers greatly in performance, and as a C++ developer in his Core, I enjoy performance and cache locality. Which Is why I often prefer the use of regular iterations through loops and recursion (call me conservative if you like). But Linq is something I still enjoy using for fetching data especially collections since those add operations tend to be nasty.

  • Custom User Avatar

    Java translation is ready for review! (Author inactive)

  • Default User Avatar

    I really don't know what to return. have never worked with "IEnumerable" or pretty much anything like it.
    I was using an ArrayList to save the categories and if i try to return it i get an error "Cannot implicitly convert type 'System.Collections.ArrayList' to 'System.Collections.Generic.IEnumerable'"

  • Custom 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
  • Custom User Avatar

    There are several translations waiting to be approved or rejected:

    C++
    CoffeeScript
    TypeScript
    Java

    I didn't make them, but I noticed them in there. Some have been there for 3 years, and are just sitting there. What's goin'on?

  • Default User Avatar

    Every time I submit an attempt the random test returns

    Expected and actual are both <System.String[10]>
    Values differ at index [2]
    Expected: null
    But was: "Open"

    I am not sure why the random test would return a null, does anyone have suggestions?

  • Custom User Avatar

    I think that you should add "Don't mutate the input!" to the description.

  • Default User Avatar

    This is my first Kata, so being a beginner Codewars user could have something to do with my difficulty. I welcome your feedback.

    When I print the contents (with console.log) of my array of 'Open' or 'Senior' members, I get the correct output. But the Test Results from 'Run Examples' fails. Instead of the 'Expected' output, the Test Results outputs 'undefined.' That's not my goal. Obviously.

    What are your suggestions?
    Thanks!