Retired

Strike out prohibited words (retired)

Description
Loading description...
Fundamentals
Strings
Data Types
  • Please sign in or sign up to leave a comment.
  • JohanWiltink Avatar

    Would have benefited from blocked words of different lengths. That would have made the task ( ever so slightly ) more interesting.

    There is this one test where the blocked word is not the entire word. Behaviour around that is completely unspecified. Most interesting option would probably be to require that only complete words are blocked. But specify such things, escpecially when one of the blocked words already is a plural!

  • Blind4Basics Avatar

    Hi,

    • well, it has been done already... :/
    • it would need random tests
    • you don't talk about the behavior with plurals in the description
    • missing a lot of edge cases with false (?) matches: caller, codewars, ... => the behavior is undescribed: should they match or not (I feel like they shouldn't)

    cheers

    • danielsedoff Avatar

      Hello, I got it. I will try to improve this. I haven't written a kata before, so I will try and make use of everything you experienced guys write here. Thanks!