News for hackers. Stuff that matters.
Re:Best Practices for Working with Configuration in Python A... by alanfranz on Friday April 24, 2020 @08:13AM (#22967103)
This is LocalDate/LocalTime in java.time/joda.time parlance. But it's a different beast; in fact, you're talking about a repeated action. But if I tell you that on "March 23rd, 2020, 9:50:01am" I did something, what does that mean to you? When did it happen? That's a naive datetime.

It's got its place: but the idea that the API and the usage should be similar to a precise representation of time, as if it the two were interchangeable is... dangerous, and it's the source of a lot of problems with dt in the Python world.

There are no comments on this comment yet.