2 ms·
> I don't want to have a type for an integer in seconds, a type for an integer in minutes, a type for an integer in days, and so forth. > For really complicate
by thaumasiotes 2y ago
> I don't want to have a type for an integer in seconds, a type for an integer in minutes, a type for an integer in days, and so forth.
> For really complicated stuff like dates, sure make a type or a class.
Pick one. How are you separating days from dates? Not all days have the same number of seconds.