posted 4 years ago
This is old now, but...
I would also add that the variable name "second" is confusing here. It's apparently intended as the name of the other object being compared to, the second object. But since we see the name "second" next to "month" and "day of week", it can easily sound like it refers to seconds as a measure of time. Bad choice of name - if they'd just called the other object "other", it would have been much clearer.