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.
This comment is hidden because it contains spoiler information about the solution
For any kata, if you feel that there is some confusion about the details in the description, feel free to propose changes to the description using the
suggestion
flag. Best of luck!Totally valid. That makes sense. Though, a bit confusing. Also, I think I need to look back at my solution
The function is named
dynamic_caller
and it receives two arguments.One of them is
obj
, the other ismethod
.The description says:
which refers to the second argument passed into
dynamic_caller
.Either I did it wrong and the tests are too vague or the given code setup is rather misleading. The details say the method should not have args. Wouldn't that mean that the given args of
obj
andmethod
are not needed?Approve my fork,
Description merge conflict :-(
I didn't translate it, I just updated the original one to be of better quality :)
Done.
Are you sure a class is needed? A simple function won't do? The python version uses a function, but you probably translated it from another language.
Also, it may be better to calculate the expected result before the test, otherwise it may be vulnerable to input manipulation.
Needs random tests.
Sample tests:
line.new.tickets
????Fair point Voile, I didn't think about how small the sequence is, just thought it would add an interesting extra layer of complexity to the existing upside-down integers kata. Oh well, live and learn.
I love the idea of this kata, but I really felt your README let it down. It wasn't at all clear what methods the ORM is expected to make available.
The fact that records should only be saved to the 'database' when an explicit save message is sent, and not on instantiation, is pretty counter-intuitive.
hi,
2
and5
digits? you need to give the complete table of equivalences between digits.=> sure that far enough of any of those to not be a duplicate?
Done => no, that's way too close from the other upside-down katas.
in addition:
please unpublish it.
No problem! Glad it makes more sense now.
Nice. Definitely an improvement in my opinion. Also, apologies for flagging this as an 'ISSUE', I didn't mean to!
Loading more items...