• Rodeo@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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.

    • scubbo@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      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.