codewars / content-issues

Higher level issue tracker for the Codewars content.
15 stars 1 forks source link

Deduplicate - Password Validation #195

Open hobovsky opened 1 year ago

hobovsky commented 1 year ago

From #39

  1. Validate my Password

    • 6kyu
    • Satisfaction 88% with 3400 completions
    • 3 pending issues
    • 2 languages + 2 pending translations
    • Published Sep 2017, author active.
  2. Regex Password Validation

    • 5kyu
    • Enforces regex to be used for validation
    • Satisfaction 88% with 24k completions
    • 3 pending issues
    • 4 languages + 3 pending translations
    • Published Jan 2014, author inactive
  3. Password validator

    • 7kyu
    • Satisfaction 92% with 3.5k completions
    • 1 pending issue
    • 3 languages + 2 pending translations
    • Published Jan 2016, author inactive
  4. Strong password?

    • 7kyu
    • Satisfaction 90% with 750+ completions
    • 1 pending issue
    • 2 languages + 1 pending translation
    • Published Sep 2016, author inactive
  5. Authenticate a list of usernames

    • 7kyu
    • Input is a list of strings, each to be validated separately
    • Satisfaction 90% with 500+ completions
    • No pending issues
    • 2 languages
    • Published Nov 2016, author inactive
hobovsky commented 1 year ago

All kata ask for more or less the same thing, basically differ only w.r.t. allowed alphabet of a password.

Kata 2. asks for actual regex, which is the only one which forced me to use regular expressions. I think it's good to keep.

As for remaining ones, I don't know which one would be the most interesting to keep. Are special characters in 4. any interesting? Does input being a list in 5. make the task any better? I do not have any favorite here.

ejini6969 commented 1 year ago

I suggest to keep 2 only and retire the rest as there are already many validation katas available with / without enforcement of regular expressions !

monadius commented 1 year ago

I like 3 the most. 2 has several problems: it is overranked, its shell translation is different from other languages (it is similar to other katas where regex is not required). But I think it is fine to keep 2 and fix the shell translation. I would also like to keep 3.

CiprianAmza commented 1 year ago

I would keep 2 (because of the regex requirement) and 3 (clear description, most completions).

EloiseRosen commented 1 year ago

keep 2 and 3 and retire the others sounds fine to me