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.
Hi,
'S'
should return None while it's supposed to be taken as's'
.None
when the value is negative? A negative timedelta makes sense.Cheers
This does not make much sense. Either you need the DateParse class or not? My solution does not have the class, but still passes tests. Tests verify correcthess of the preloaded class, and not of my class. Why? What exactly is tested? My class is not tested, because I do not have it.
in the description of Kata i sayd, you have class DateParser, and this class have list of function. You need create DateParse Function to optimize this class(
in this Kata you need optimize class, but you also can make you own function without DateParser class function's.
What is
DateParser
, and why is it preloaded? Users do not have to implement it, so why is it tested?date_parse
and notDateParse
.sanks for your example, now work correct i think
okay, i go fix it
aaa
,bbb
, andccc
. Please assign some meaningful names to the variables.first
andsecond
are also not very fortunate names, maybe something likefrom
/to
orsource
/target
would be better?Thank you, okay i fix all?
okay, None is the better solution, sanks
sory, i go fix it
-1 is a very bad choice design-wise. For Python, an error or
None
would be much better in my opinion.Why is there Python code in Javascript translation? I think that Javascript was added by accident and needs to be removed.
and i think -50 seconds isn't correct. If we fantasy about this => okay, but in real this is uncorrect value, i think user can take a exception or False, but stopped at -1.
negative values not correct, i think -1 very nice solution. This kata for new members like 7-8 rang
Loading more items...