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.
Well I call it Best Practices.
Rejected:
Current C version already had random tests with wider fixed test coverage and using latest version (same goes to the description)
thanks for your reply, I will leave the name as is, changing the writing style does not affect performance
I did not tell you that it was better. You asked for a workaround and I gave you one. You can choose whichever option you like. I don't think it matters too much that the name is the same as the builtin, since 1) you can still use the builtin in your solution without any change and 2) this function will only ever be used for this kata, it's not going to be part of a large project where it could indeed confuse readers. If you insist on not using the same name, at least do not use PascalCase for it, as the link above specifically discourages this style for function names.
Hi can you tell me why it is better to use the name of the built-in function than to change the writing style?
you can do this:
it's better than using PascalCase for the function's name, as the official Dart style guide discourages this
We need more Python tests because
if prefix > st: return False
covers all tests for
len(prefix) > len(st).
fixed
trashy_incel
's fork got approvedResolved for C
the fork in question
I approved the fork, but in the meantime another user has been working on their fork addressing the same issues, but since they did not publish it, it was not visible. When they publish their fork we'd have to check it and see if it has any further improvements, and eventually approve it.
done in this fork
C fork
bool
eans as return type instead ofint
Sorry I didn't notice your replies earlier. I'm not sure what's the correct way to do this, but hopefully I'll find some time in near future to figure it out.
Loading more items...