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.
This comment is hidden because it contains spoiler information about the solution
Could you explain why it is not “clean code“? :)
The underlying expression of your statement is incorrect, because this function will be implemented into other code and so this function will be executed an unknown number of times per second. Always keep that in mind :) .
True,although it will only ever run over an array of 10.
totally agree. maybe clever but confusing as hell. readable code over clever code. always.
Good luck
Thanks, this is really sad. Maybe i will create my own platform like this here then, just with much less bugs and proper core-features.
The github feature-request is over 2 years old. If a platform isn't capable to implement such a core feature after even 2 years, this is not a good sign and so maybe this platform will be going down at some point :/
B1ts is just a user, not a maintainer/developer (So am I).
You unfortunately have to link to your Github account. See https://github.com/codewars/codewars.com/issues/1398
The only way to change your profile picture is to link your account with Github.
This has to be a joke. Are you a developer/maintainer from codewars or just some user?
I doubt that a modern (looking) website, that is about "coding", lacks the ability to set profile images and then doesn't even generate random images like github.
Is this feature really not existing here? If so: Why?
You can't.
Very hard to read, to understand and to maintain. This code should never be used in production.
You should definitely refactor your code.
Very very hard to maintain and to read. You should refactor your code.
For me it correctly returns "10". I think you copied something wrong maybe?
I 100% agree, but since upvoting replies does not work for me on codewars, have my reply.
Loading more items...