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.
It's excellent. Less code and clever solution
Ah good point
I approved & merged it
You're right. They can use
double
or even function overloading. My use oftemplate
s does not make them do that too.Could you please approve this, then?
TIA!
I agree I prefer a generic solution.
That said, this is an 8 kyu kata, the complete basics of basic coding. I don't think it should be required to use generics. No other languages for this kata are doing anything that sophisticated either.
I've added a C++ translation with
template
ed argument and return type. Can someone please check and approve it? It's my first translation! 😉Poor testing allows this useless solutions...