this post was submitted on 15 Aug 2025
751 points (98.3% liked)
Programmer Humor
25730 readers
1316 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Anyone who uses YYMMDD instead of ISO 8601 needs to be fed feet first into a wood chipper.
ISO 8601 is
YYYYMMDD
(orYYYY-MM-DD
in extended format)Are you really going to wood chipper someone for leaving off the leading
20
? I think we can safely infer the century and millennium with a high confidence, why not trade them for two extra name characters?I recently had an accountant file something for the IRS that was dated as expiring in 1940 when it should've been 2040. I had to catch it myself after reading through 70 pages of dense forms before it was sent off, and I could've easily missed it.
Digital records have existed long enough now that it's downright irresponsible to leave off the century for anything where having an accurate date might even slightly matter.
The exact date of creation is usually preserved in the filesystem, we're just talking about what to name the documents themselves. The filename should be short and to the point, it gets truncated if it's too long, and on windows you only have 260 characters for the entire path to the file plus the name.
If two characters are hurting your 260 character limit then you have other more serious problems to contend with.