Re:JavaScript Temporal Is Coming
by wanderingstan on Thursday January 30, 2025 @11:20AM
(#42879237)
Just spitballing, but in C it was always the convention to use zero-based indexing. Probably because you were often adding these indexes to pointers (literal memory addresses) to index into an array, so you needed a zero to index into the first slot of the array.
[ Parent
| on HN ]
Re:JavaScript Temporal Is Coming
by 8n4vidtmkvmk on Thursday January 30, 2025 @10:57PM
(#42884581)
What I don't get is why the day of the month doesn't also start at 0?