Nice regexp parse :)
But it seems not good idea to use coded argument names, better to generate them ('A' ... 'Z')
except cases where we have 66 arguments :)
It is bad practice when you swap arguments' order, when some of them are defaults. This kata is good just for one purpose: to learn that you shouldn't make such strategy in code :).
Nice regexp parse :)
But it seems not good idea to use coded argument names, better to generate them ('A' ... 'Z')
except cases where we have 66 arguments :)
In the description it says return nothing, but you returned 0, so...
It is bad practice when you swap arguments' order, when some of them are defaults. This kata is good just for one purpose: to learn that you shouldn't make such strategy in code :).