Retired

Nullify All Empty Strings (retired)

Description
Loading description...
Fundamentals
  • Please sign in or sign up to leave a comment.
  • Blind4Basics Avatar

    note that:

    • it wasn't specified if the user had to mutate the input or return a fresh one. Both were working...
    • it was neither specified nor tested if objects were nested into arrays
    • orderandchaos Avatar

      Thanks for the pointers, probably would prefer that it's non-mutating. Will add tests and will add more detail to the description.

    • Blind4Basics Avatar

      Will add tests and will add more detail to the description.

      note that your kata has been retired: you cannot publish it. You could publish a fresh one, but considering the different problems and mainly the fact that we already have a lot of katas of this kind, there are very little chances that it doesn't get retired too...

    • orderandchaos Avatar

      Yeah no problem, I learnt a bit writing the tests for it anyway. Will leave it at that.

  • FArekkusu Avatar
    • No random tests
    • There're already a lot of katas about traversing an object
    • orderandchaos Avatar

      Fair enough, happy to delete it. Scribbled it down on the train.

      Or write random tests if that would improve it. Take your point though.

    • orderandchaos Avatar

      I've added some random tests, I can build upon that later, as they still only check the same properties as the static tests. Back to work for now.