|
|
|
|
|
by wesselbindt
428 days ago
|
|
Ah nice it solves the Liskov violation that the standard library has. In the standard library, dates can be compared with <, and datetimes are dates. But compare a datetime with a date with <, and you get an error. This drove me nuts at work recently. I wonder what benefits this choice has that outweigh the risks of this behavior. |
|