• Pulptastic@midwest.social
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    1 year ago

    There’s this really cool shorthand where you drop the year because it seldom changes. It’s called MM-DD

    • WetBeardHairs@lemmy.ml
      link
      fedilink
      arrow-up
      5
      arrow-down
      4
      ·
      11 months ago

      Yeah and if you need to know what year, you can just add it to the end like this MM-DD-YY.

        • rchive@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          11 months ago

          Had a coworker who used MMDDYY with no dashes. Unless you knew it was very hard to figure out, since it could also just be a number that happened to be 6 digits, too. At least YYYY-MM-DD looks like a date generally.

      • CapeWearingAeroplane@sopuli.xyz
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        11 months ago

        “I can reuse this old function if I just monkey-patch this other class to work with it, no one will have any issues understanding what’s going on”

        Edit: Thought this was the programmerhumor community. For context: A monkey-patch is when you write code that changes the behaviour of some completely different code when it is running, thus making its inner workings completely incomprehensible to the poor programmer using or reading your code.