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.
hey could you please explain me why did you transform the time of the day in millisceconds? Thanks!
@rowcased
From my knowlage leaving magic numbers is a bad habit/practise. My descriptive name of const isnt the best, maybe I should name it better, but still this is not a "magic" number. Maybe I'am wrong, correct me if I'am.
honest question: does it make it any less magic if you assign it as a const var as you did in your solution?
86400000 - magic number ;/
That's the amount of miliseconds in a day.
What is the significance of 86400000?
Very good use regular expression.
Love this kata. Cheers!
It seemed to be the one with "It's the job" but I've got it sorted now. When I tried to replicate it, it came up slightly different than what I remember from a few days ago.
Yes, sometimes we don't realize what a complicated decision process is involved in a real-life situation until we try to represent it in code. It gives you a new appreciation for the human brain.
Jake, the godfather of codewars, had approved it.
If you have questions when doing the random tests, don't hesitate and ask. :-)
Hey guys,
Thanks for approving smile67 :) You're right about random tests, and I'm going to update this kata to have random tests too.
HerrWert thank you! Agree it's hard to find the balance, the first kata I tried to make seemed very simple but ended up so complicated!
Hello everyone
Thanks devnuhl for pointing this out. I'm not sure about the issue you're having as I checked test cases and can't find an example which expects a four character word to be all caps. If you can remember the example it'd be great if you can share.
I can understand why characters/letters are confusing. I've updated the description and added some examples, hope this is clearer?
Thanks for making the translation :) I can see it's already been approved. I've updated the description in the original kata to make the character length criteria more explicit, could you update the description in your translation to do the same?
Also random tests are commented out as I was having some issues with them, I've been working on them and will publish them asap.
Loading more items...