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.
The user solution and the tests are in different files that are compiled separately. After compilation to object code, there are no datatypes or functions anymore; the linker will just look for something named
char_of_code
that is supposed to be callable."WXÀ"
is encoded in UTF-8 with bytes\x57\x58\xc3\x80
. A disassembler shows that these bytes correspond to the x86_64 assembly code:which essentially acts like a function that returns its input.
anyways it's gonna compile into the same machine code as "if-else" chain or "switch" xD
so you must good at typing :-).
why it works?
i think it's too complex.