Ad
  • Custom User Avatar
  • Custom User Avatar

    The link at the end of the description links to a draft kata, and should be removed.

  • Custom User Avatar

    How about inputs like this (based on the python version):

    def    white_space  ( a,   b, c   )  :
        
        
        return    " Newlines   and  tabs  are fun,   too!  "  
        
    
    def code_golf(*a):return"NoSpacesDude..."
    
    # comments for your mind
    def the_commenter(yeah, really):
        # some comments here
        return 1, "two", 3
        #
        # how about more comments?
        #
        
      """
      or
      even
      more
      ?
      """
    

    etc... :-)

  • Custom User Avatar

    ( JS, possibly others )

    Description and example tests do not mention digits and uppercase at all and make a great show of keeping inputs simple ( no real parsing! no this, no that! ). Random tests suddenly have digits and uppercase.

    It's legal, but it should be specified.

  • Custom User Avatar

    ( JS, possibly others )

    A function can do things that are utterly, completely inexpressible in fat arrow notation. The description tells us several things we will not encounter, but lots of things that can't be done in fat arrow notation are never mentioned. How would you like function error(_) { throw new Error; } to be translated?

    Please specify that we will only encounter simple cases that can be rewritten rather mindlessly TBH, or, even better, specify what we will encounter. This should probably not be in the Notes section either.

  • Custom User Avatar

    Reraising issue:

    Kata is a duplicate. See issue below for other comments.

  • Custom User Avatar

    In your fixed tests, you write that "Variant" should have only 2 syllables. Maybe I am crazy, but I am certain there is 3.

    If you are defining 'syllables' in some other way, then you need to SPECIFY. If you aren't, then the reference solution is wrong (And likely, the kata would be MUCH more difficult if not impossible).

    At the moment, this is essentially: "Guess the mystery function. Hint: it has something to do with vowels."

  • Custom User Avatar

    Please, provide a thorough explanation of what you do or don't consider a syllable.

    And don't close issues without doing anything. The problem reported by Unnamed is still present, and telling people to "try submitting again" is not a solution to it.

  • Custom User Avatar

    I think this would be more interesting if you force the answer to be very robust. Randomize the number of spaces between things, add lambdas inside the lambdas, check edge cases where the name of the function is something like lambda_f, etc. Just my opinion though.

  • Custom User Avatar

    Random tests always generate only a single word.

  • Custom User Avatar

    Trivial map/filter/reduce is not a novel idea.

  • Custom User Avatar
    • Poor description
    • No random tests
    • Duplicate of all sorting katas
  • Default User Avatar
  • Custom User Avatar
    • No random tests
    • The special cases are not mentioned anywhere
    • "Return None if a == b" requirement doesn't make any sense
    • There's already at least 1 kata about generating a list of numbers in a range, and adding a special case of a > b doesn't make this one novel or interesting