|
|
|
|
|
by isidor3
2152 days ago
|
|
> having one or two days per year which are part of no month is stupid
> having one or two days per year with no day of the week is asinine These don't sound like real reasons to me. If it costs having a 13th month with just a few days in it or a NO_DAY_OF_WEEK constant in my DAYS_OF_WEEK enum, I'd take it if it meant all of the weirdness was limited to a few days always located at the end of the year. Sounds like a convenient place to put leap seconds as well! While you're at it, make those days holidays for most people, so that when tech inevitably breaks due to the weirdness, those of us who get paged for such things can fix them in peace before the rest of the world starts back up a few days later. |
|
They are if you have to write date-handling code or, worse, use the date-handling code of others.
Date-handling code is hard enough without NULLs.