Ad
  • Custom User Avatar

    Specs are all over the place in different languages.

  • Custom User Avatar

    ( JS )

    Tests coerce results, so returning a String is actually optional.

  • Custom User Avatar

    the description is poorly writen bro!

  • Default User Avatar

    This kata description

    This kata error message

    You should change the description so it matches the actual program

  • Default User Avatar

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

  • Custom User Avatar
    • Description does not mention whether the URLs should be handled case-sensitively or the opposite

    • Description does not mention whether we will be given one global URL or a series of URLs separated by spaces in string form (The latter is expected though...)

    • Example and sample tests do not present the above cases thoroughly

    • More fixed tests on a series of URLs string should be given (debugging long series of URLs for random tests is a PAIN)

  • Default User Avatar

    PHP, it should be mentioned in description to return string 'NaN' instead of NAN when the tests/solution expects it.

  • Default User Avatar

    If your language can handle float binaries assume the array won't contain float or doubles.

    That's gibberish. Just say they're integers. Have you spent five seconds considering how your target audience is going to understand this? You are publishing text to the public. Make it freaking readable or keep it to yourself.

    It's a white kata. It's here for beginners and/or as some kind of drilling exercise. Don't include incomprehensible text that doesn't mean anything even when you understand what it means. There's zero teaching value in that. What you should be doing for beginners is showing them straight-forward ways to do things that make sense, and without suggesting that mixed types is legitimate practice.


    I'll also note that NaN has nothing to do with javascript as the js description suggests. it's a value that the ieee 754 format can represent. but that applies to any language that uses that type. it's certainly not a number. it's specifically not a number. it's in the name. not a number. it matches the type 'number', but it is not a number. and if you're ruling out fractional values, thus only having integers, then why is NaN included? that's not an integer.


    and to mention the obvious, the entire kata is a duplicate to the other kata it mentions, with only an insignificant difference. the other kata is already a warcrime in its own right with mixed input types and mixed output types. so I warmly recommend this one for retirement.


    addeded? really? again. published text. proof read it.

  • Custom 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

  • Custom User Avatar

    TypeScript: initial solution has Number[] as input parameter type, but the tests feed strings into it. This is terrible.

  • Custom User Avatar

    Java fork removing that ANYTYPE abomination. Not in a 8kyu Kata, new beginers will start googling what ANYTYPE is. To the author and the one that approved it: may both sides of your pillow always be warm!

    oh and added random tests

  • Custom User Avatar

    CS: Initial solution has wrong syntax printArray = array -> should be printArray = (array) ->

  • Custom User Avatar

    See comments below. Coffeescript translation is bugged and requires the user to provide a hidden function reverseSingleStrand which influences reference solution.

  • Custom User Avatar

    Should include order requirement in instructions; took me forever to figure out why I was passing some tests but not all...

  • Loading more items...