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.
but why
Right?!?
because for one of the functions I needed the int instead of the string, and I didn't want to make one more conversion. So I systematically pass both as arguments and use only the relevant one for each function (the other one being written
_
, meaning "there is something there, but I won't have any use of it").thx (...check the new fork! ;o )
cheers
that's called "hardcoding the results", aka "some kind of cheat"... x)EDIT: looks like so, at least... Lemme dig a bit more)
EDIT²: XD not even so, actually. That's hardcoding the winning possibilities, rather. The formatting gets weird because he uses a linear version of the grid.
doesn't that rely on an assumption about the way the regex engine is working under the hood? I actually thought (maybe even read?) that the non greedy flag was making the things slower...? (maybe only in some cases...)
They can improve performance for really big input, so some people may just use them by default whenever possible.
they are totally useless x) (see forks)