Ad
  • Default User Avatar

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

  • Custom User Avatar

    The attached image is broken ;-(

  • 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

    This is simply a BAD mystery function kata, period. Even as a puzzle it is so shallow it boils down to an 8kyu kata, so there's no actual content inside.

  • Custom User Avatar

    There's this one issue though. Since dictionaries don't care about order you're probably better change the task from making a dictionary to making a string. In this case people would be forced to use acronym and do sorting.

  • Default User Avatar

    I agree with neilm but it is suggestion so I will put this separately. I think for better votes you should change the kata: acronym as it is but words instead of list -> string with sentences. Expected result: list of sequences of consecutive words in sentence which can be such acronym and of course your variations of idea.

  • Custom User Avatar

    The easiest ways to cheat have been disabled.

    I don't know what you mean by "easiest" cheat, but my first cheat worked
    You should learn more about python before publishing these class of katas.

  • Default User Avatar

    Should I work on a 'sequel' to this kata which includes more markdowns syntaxes?

  • Custom User Avatar

    Duplicate of every "replace X with Y" kata.

  • Custom User Avatar

    Description is waaaay too long (for such a simple exercise)

  • Custom User Avatar

    A trivial variation(like variant 1. Remove alphabet a from string, variant 2. Remove alphabet b from string) of following two katas:

    Disemvowel Trolls
    Vowel remover

  • Custom User Avatar

    Duplicate or not, I like Blind's argument that this kata will teach people about MarkDown formatting. A lot. Because comments without MarkDown suck.

    I will be upvoting this kata for that reason alone ( as soon as I've solved it ), and I suggest everybody does - especially all the jaded power users. Let's make life easier on us.

  • Custom User Avatar

    Trivial arithmetics is neither novel nor interesting kata idea.

  • Custom User Avatar

    Hi,

    The input string will always follow the structure below: 'a ( b + c )'

    ...but 'a ( b - c )' too => ?

    • your tests are still built the wrong way:
      • don't put anything in the preloaded section
      • avoid those pop(0) things, build the proper data structure to make all the tests in a loop, meaning:
    TESTS = [
      (messageDescribe, [(input, expected), (...,...), ...]),
      (messageDescribe, [(input, expected), (...,...), ...]),
      ...
    ]
    
    • This is typically the kind of kata that doesn't pass the beta phase anymore: the task is a small subset of a larger task/problem which makes the solution more a hack than anything, this hack becoming useless as soon as you try to generalize the problem. Hence This isn't considered a good idea for a kata, these days.

    cheers

  • Loading more items...