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

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

      • CapeWearingAeroplane@sopuli.xyz
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        1 year 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.

        • rchive@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year 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.