Ad
  • Custom User Avatar
  • Custom User Avatar

    Kata author: it is not funny to randomly ban regex when your description also defines things in terms of regular expressions. In addition, this adds nothing to the task, besides making it more a nuisance. (If you think this adds "difficulty" to the task, then your kata is objectively bad. Find something better to author on.)

    One can also argue that if you don't want people to use regex, then don't author the kata in Java and JS where regex is part of the language built-in. Author the kata in C++ or something instead.

  • Custom User Avatar

    Description contains a lot of wild tangents of the kata author contemplating about random stuff rather than a clear description of what is needed.

  • Custom User Avatar

    JS version is still stuck at Node v8.

    Also, JS version doesn't have sample tests.

  • Custom User Avatar

    It returns the allowance remained after the correspinding month. (priceNewCar-priceOldCar+saving)

  • Default User Avatar

    Since this is a duplicate (as mentioned before) it should probably be retired.

  • Custom User Avatar

    Duplicate issue. There is an open issue about it already, please don't open another about the same or comment there with your suggestion.

  • Custom User Avatar

    This (and iirc a lot of others as well) is a duplicate. Also it's not... worth it, in the sense that there's a built-in function for that, which you can and most people use on other ordinary Katas. It would be challenging if you restricted the use of built-in functions.

  • Custom User Avatar

    Hi,

    yep it does, thx. This kata tho still suffer from the lack of random tests. If yu're still motivated to dig into that, just know that I began something there a long time ago... But I left it aside... :/
    If ever that can help you (maybe not, tho...)

    cheers

    EDIT: I see you actually implemented some... I'd need to take a closer look (but not right now...)

  • Custom User Avatar

    I hope, new tests with 'IllegalArgumentException' as error signal will work.

  • Default User Avatar

    Random tests ready.
    While working, accidentally dropped Blind4Basics' solution into the solutions section (however, with comment), sorry.
    I've used it as reference one to adjust tests.

  • Default User Avatar

    Hello, Toderesa97, need a couple of hours more - do correction in random tests; will update them in a minutes and then write random wrong formatting test. Thank you!

  • Custom User Avatar

    Approved. Just make sure to modify the description accordingly

  • Default User Avatar

    Will rework random tests a little, and write one for non-correct expression format.

  • Default User Avatar

    I've just published updated version with 'IllegalArgumentException' as error signal, and portions of random tests.
    One's else solution is strong enough to pass them.

  • Loading more items...