Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Lua translation!
This comment is hidden because it contains spoiler information about the solution
Several solutions (including mine / ruby at least, may be needed for JS too) are stripping the output. Meaning that any input with "unlucky placed whitespace" will make fail these solutions.
=> need some more edge cases.
The use of the instance variable in this kata is poor design, which adds unnecessary coupling between consecutive calls to the methods of the class.
It would be better if this were simply 2 class methods that took a string to encode/decode
It would be better to have more hinted, what should be stored in instance variables. Tests are not full and everybody can think of different flow