Isn't the ScheduleTime class doing redundant work? Why bother keeping a dictionary, dealing with ints and strings when you can directly use strftime/strptime?
Except for the friday/fri thing, which, to be honest, I don't see the point of. I'd rather have uniformity in my code.
Comments
Isn't the ScheduleTime class doing redundant work? Why bother keeping a dictionary, dealing with ints and strings when you can directly use strftime/strptime?
Except for the friday/fri thing, which, to be honest, I don't see the point of. I'd rather have uniformity in my code.
Agree. Its not the most useful class.