Ad
  • Default User Avatar

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

  • 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

    That's a good objective and I have no issue with it - but there has to be some link between "I don't know about this" and "I know about this" that's solvable by the user.

    I don't think there is enough information in the description for most uninformed users to get from point A to point B.

  • Custom User Avatar

    The point is to introduce this feature to those who may not have used it before. Everyone goes from not knowing about certain language features to knowing about them at some point. If you weren't aware of the language feature then this will clue you in that such a thing is possible.

    Also many programming problems come down to just knowing the specific gimmic rather than finding it by problem solving. Usually that is some algorithm like fast prime calculation or efficient shortest path. You wouldn't be expected to derive Dijkstra's algorithm just by problem solving within a kata but those are still good problems that encourage you to research the solution.

  • Default User Avatar

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

  • Default User Avatar

    I'm guessing readability wasn't your primary aim with this solution :-)