• @[email protected]
    link
    fedilink
    English
    166 months ago

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

        • @[email protected]
          link
          fedilink
          16 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.

      • @[email protected]
        link
        fedilink
        4
        edit-2
        6 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.