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 is the best one so far.
This is not as small as the previous one.
can YOU beat this (or you cant)
can YOU beat this (or you cant)
Cool, I firstly didn't notice that a class can have empty name string
You are right. I just made some random changes to see how this "kumite" works...
But I'm still not sure...
How is a lambda function an improvement? I checked it myself - perfomance of
def
andlambda
is almost identical. Also, one-liners do not improve readability in most cases. You made it shorter, removed choice of not preopening file. Preopening file is good for high perfomance, but it takes lots of RAM, so, sometimes it's better to keep the file closed until the moment you actually need it.