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
This is cool, but it's not easy to read. Code should be as simple and easy for readability and maintainability.
true this is a good case of bad pratices the code should be/try to be easy to read to any person new to the code
Difficult to read
Mine is similar :)
You don't need the spoiler flag here. For some reason I cannot unmark it even though I have over 500 honor.
Description says:
1000 ≤ year ≤ 9000
Honestly I din't know about the min function either, but was also able to do it with a loop. I personally think that will help you in the long run. You can learn all the shortcuts later, if you know how to work through the problem without a built in function, that's great imo.
This wouldn't take into account years that don't have 4 digits.
So many votes for this being best practice. This is not best practice. Readability > Complexity.
Do only I have to my_eyes.split() to read that code?
This comment is hidden because it contains spoiler information about the solution
If you want
ridiculous
, check mine out, lolAnd we all seek ridiculous one-liners in solutions section - that's a lot of fun.
One liners have a better performance in general?
Loading more items...