6 Mar
2014
6 Mar
'14
11:12 p.m.
Andrew Barnert wrote:
I agree with Stefan here. Treating midnight as zero is not at all baffling. There's a reason modular arithmetic is taught to kids as "clock arithmetic",
I still say this is confusing times with timedeltas. It makes no conceptual sense to add two times of day together. You can only make it work if you abuse one type to mean two different things. We keep datetimes and timedeltas clearly separated. Why shouldn't we do the same for times of day? -- Greg