Ad
  • Default User Avatar

    !!!!!!!

  • Custom User Avatar

    poke... poke...
    "They're dead Jim"

  • Custom User Avatar

    Along with Cold Drinks :p

  • Default User Avatar

    @Strato I agree it is 'too simplistic' ...the reason I did it was mostly as encouragement for total newbies so they can get one easy kata under their belt (also for me to familiarise myself with kata authoring UI).

    @bkaes I'm open to changing it though, I like the range of conditionals example you wrote. Something between the current simple one and what you suggested feels appopriate to my goal: easy end of 8kyu spectrum

  • Default User Avatar

    @Strato @bkaes

    Yes I agree it's my first kata I wanted to be as simple as possible (easy end of 8kyu spectrum), actually there is going to be a series of Hoop katas the next will be maybe a 7kyu; draft is 'Hoop your way through':

    Alex has been practicing hula hoop. He created a video blog logging how many times the hoop went round his body before it dropped to the floor. But someone bugged it and all that's left is a 1d array (vlog).

    Your task is to print an encouraging message to Alex depending on how long he kept it up before it hit the floor.

    • Under 3 hoops should print 'push faster'
    • 10 or more hoops should print 'you've got it going!'
    • more than 20 hoops should print 'nice, now move on to tricks'
  • Custom User Avatar

    I guess @Strato means something like this:

    Hoops(h) Message
    0 Do you even try?
    0 < h ≤ 10 Keep trying!
    10 < h ≤ 20 Getting there!
    20 < h ≤ 30 Woah!
    30 < h ≤ 40 Incredible!
    40 < h ≤ 50 That's it, I must be dreaming!
  • Default User Avatar

    I'm new, can you explain the teerms 'degrees' and 'force to code a 'nice' dictionary'

  • Custom User Avatar

    *grabs popcorn

  • Default User Avatar

    Since when is returning a bool considered best practices? Can you link me to any credible source? The kata is to return a zero or one. I'm not changing it. All valid solutions will get invalidated if I change it. You can keep your minor issue.

  • Default User Avatar

    That sounds more like a suggestion than an issue. Returning 1 or 0 isn't reserved for C only. Thanks for your feedback.

  • Default User Avatar

    The whole reason for this kata was to use the arrow functions, it was created on the day ES2015 came to codewars so it here to help incourage the use of arrow functions. I see where you're coming from but I also see 27 people currently have skipped this kata, I assume it's because they didn't know how to implement the arrow function properly or sort on the age property.

  • Custom User Avatar

    I don't like being proposed one thousand katas that all look the same and barely help learning something.

    See, that's something you could have added into your original post right away :).

  • Default User Avatar

    Ok, thank you. I will close this issue then :)

  • Custom User Avatar

    @matt c: It isn't. @Strato should have taken his time and told you what problems he had with the tests, the descriptions, or the initial solution (and therefore rightfully chose the issue tag). Since he didn't, it's basically an opinion, not an issue.

  • Default User Avatar

    I'm sorry how is that an issue?

  • Loading more items...