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.
Better?
There is always work to do (it's called at least once).
I like to avoid that you do a break without working.
Thx Kacarott,
I checked your results and updated the tests and description to avoid this solution:
https://www.codewars.com/kata/reviews/60a24cfbf2b4d60001148fe2/groups/60a3518d3238e20001424f96
This should not be possible, but I understand why you did this 👍.
Added:
:), I'm happy with the result of my first kata.
Now I know what to expect next time.
I hope it won't be similar to Implement Debounce which is open for 4 years.
I added this part:
Alright, I hope they will update their votes soon. Wouldn't it make sense to reset the rating after big changes?
Tests are refactored and random tests are added.
Wdyt?
Thx for your feedback, it's very helpful.
Yes, updated 🙈
Can you check again?
Thank you, looks like I forgot to remove
async
(had a different version before).Anyway, I go for promise based tests.
The break doesn't have a duration (you have a break until the next work is requested).
I added this:
I changed the task (the solution is very similar).
What do you think?
You could say that this is a simpler version of that kata.
I will rewrite the task description. Thank you for your feedback 👍.
In the other kata:
You are right, it's very similar. I saw that one after I created this kata.
Still, it's different because of the
immediate
argument.