this post was submitted on 09 Aug 2023
1920 points (93.1% liked)

Memes

45727 readers
631 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
1920
2023-08-09.jpg (lemmy.ml)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

Implement wrappers everywhere? Why can't they just write a single function that takes an ISO date a spits out a string (human readable) date? I'd put money down that such a function already exists in almost every library that deals with dates.

[โ€“] [email protected] 1 points 1 year ago

That's why I said "implement" and not just "write". The process of wiring in that existing function has non-negligible cost, as does keeping it updated/patched.

Sure, it should be pretty small - but it's non-zero. Is it worth it? That's a product decision.