Ad
  • Custom User Avatar

    Definitely... forgot about that when changing the functions name!

  • Custom User Avatar

    Republished, please let me know when you find more issues :)

  • Custom User Avatar

    Thanks guys, I will do that after fixing the mentioned issues. If you come up with something else there is to fix, please let me know, I will take care of it :)

  • Custom User Avatar

    intentionally unconventional

  • Custom User Avatar

    Test added!

  • Custom User Avatar

    Will do, great idea :)

  • Custom User Avatar

    Yes!
    In my opinion, most criticism to my kata was absolute valid. But there is a line, and FArekkusu crossed it.

    I appreciate suggestions to improve but being inpolite and confrontional is just not professional and super toxic.

    I hope you read this, FArekkusu and learn from it. You may know much more than I do, but you definitely have zero social skills. I'd be ashamed.

  • Custom User Avatar

    Hi, I will dismiss my submission.
    I won't contribute new katas anymore as I am obviously not good enough.

    I saw that there are not many katas about generators and teaching people this concept seemed like a good idea to me.
    If my design or description is poor I invite you to create something better :)
    Toxic behavior like this is something common in the IT industry and I do not appreciate feedback which does not respect the author.

    That said, have a nice day.

  • Custom User Avatar

    Indeed, fixed.

  • Custom User Avatar

    This is just a description to what the user can expect - there is a limitation in first place so the user knows what they will deal with and simpler solutions also will be accepted.
    (ones checking for undefined when array out of bound)

    the idea of this kata is to be a simple introduction with the difficulty of 7 kyu.
    Otherwise, I do not get your question. It is normal to tell people what they have to expect and/or if they will have to deal with elements like undefined/null in the arrays.

    I hoped that answered your question

  • Custom User Avatar

    It happens because of markdown I guess!

  • Custom User Avatar

    I changed the description to numbers only and the tests too.

    My code now does not look stricly for undefined, it check the incrementor in the while loop instead before incrementing it again (the admittable better solution, yes!)
    Should you have further concerns, please let me know.

    Thank you for your feedback, I really appreciate it.

  • Custom User Avatar

    Yes, good call. Thank you!

  • Custom User Avatar

    As this is only KYU 7, I did not intend letting the user handle falsy or invalid values.

    I want this to be straight forward so people can learn specifically about generators, this is also thought for beginners especially.
    Also the description mentions that there will be always atleast three elements in the array itself.

    Should I implement it anyway?

  • Custom User Avatar

    It is fixed now :)
    Please let me know if you should find something else. Thank you very much for also figuring out the problem!

  • Loading more items...