Ad
  • Default User Avatar

    You'll have to know fundamentals to debug something, that's inherent. Since the kata is framed as solving an issue with existing code, and you are given how it should work vs. how it currently works, i'd say this is pretty solidly a Debugging kata.

  • Default User Avatar

    I lean towards disagreement only because I'm new to JavaScript and had to learn a fundamental aspect of javascript in order to complete it.

    Maybe if you had the opness set correctly then the bugfixing element would be removed? Or if you simply told the story differently: say specificaly that it's only running the random generation once, and needs to regenerate the random number everytime.

  • Custom User Avatar

    You are right. Its a shame I cant have both.
    Consider it done though!

  • Default User Avatar

    My suggestion is to change the category from "fundamentals" to "bugfixing" for this kata. While it does touch on fundamentals, i think this belongs more in the "bugfixing" category.

  • Custom User Avatar

    Thank you!
    And thanks to you guys, I feel I've given something back to the community. Which is great!
    I hope some day I will solve one Kata you made! ;)
    Keep up learning! Kudos!

  • Default User Avatar

    Excellent! As a newbie to JS, I found that challenging and educating! At first I felt like you were really giving away the solution by asking us to make it a function... until I realized I didn't know how :). SOLVED, AND LEARNED.

    Thank you!