Sujet : Re: "A diagram of C23 basic types"
De : cr88192 (at) *nospam* gmail.com (BGB)
Groupes : comp.lang.cDate : 29. Apr 2025, 19:02:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vur4fm$2c2qa$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla Thunderbird
On 4/29/2025 12:24 AM, James Kuyper wrote:
On 4/29/25 01:10, candycanearter07 wrote:
...
I believe the current rule for software is to consider "39" the cutoff,
ie 39 is considered 2039, and 40 is considered 1940. I agree though,
removing the century is a bad idea for anything that is supposed to be
kept for a length of time.
I sincerely doubt that there is any unique current rule for interpreting
two-digit year numbers - just a wide variety of different rules used by
different people for different purposes. That's part of the reason why
it's a bad idea to rely upon such rules.
Could always argue for a compromise, say, 1 signed byte year.
Say: 1872 to 2127, if origin is 2000.
Could also be 2 digits if expressed in hexadecimal.
Or, maybe 1612 BC to 5612 AD if the year were 2 digits in Base 85.
Or, 48 BC to 4048 AD with Base 64.
Downside of any 2-digit decimal year scheme is that it would either need constant fiddling to remain usable, or need to be defined in a way that is relative to the time in which it is observed, say, +/- 50 years.
So, if we assume +/-50, say, at the moment it would span: 1975 to 2074.
Well, and all those "Summer of '69" covers would be interpreted as 2069.
Well, and annoyances of music lyrics bingo card:
Songs with nostalgic stories of decades past;
Songs about California and/or locations in California;
Songs about music creation stuff;
("Like, no man, don't be singin' 'bout your DAW and mix levels", *1)
...
Some of this starts getting kinda old sometimes.
*1: No, not a reflection of my actual dialect, where the *ing to *in' shift and similar isn't really a thing (but, it is a common pattern in the dialect typically used on TV and in music).
Or, like, fiction stories where the protagonist is always either a struggling author or starving artist that gets caught up in something-or-another.
Well, or if the protagonist is a programmer or hacker or similar, and most of the character names end up being either culture references or puns (less common, but still a pattern).
Then again, maybe this is just the way things are...
...