Ad
  • Custom User Avatar

    JS: Node v12 should be used enabled along with its appropiate assertion tools (Mocha + Chai).

  • Custom User Avatar

    JS: No random tests

  • Custom User Avatar

    as should all other uppercase letters in a word not normally capitalised

    What is a "normally capitalised"?

    anything in camelCase would not be censored, but brand names with InCapping

    How to identify if a word is a brand name and which rule should we apply when there's a conflict? For example: "iPhone", It's both a brand name and a camelCase word.

    Lastly, why should "7Up" should get censored despite being initialized with a digit, not uppercase? Do brand names have higher priority than the main task of the kata itself?

    Write a function which acts on a string to obscure any word beginning with an uppercase letter by replacing each subsequent character with an underscore _.

  • Custom User Avatar

    The task is really badly explained, I could solve the kata only by tweaking and observing tests results but I see no logical in it. Why and how are we supposed to replace dots? Why iPhone -> iPhone, but 7Up -> _U_ ?

  • Custom User Avatar

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