• @BlackPenguins@lemmy.world
    link
    fedilink
    802 years ago

    Every Friday I take 2 min to write a detailed note for the future me so I remember what I was doing. No matter how simple the task was.

  • @FUCKRedditMods@lemm.ee
    link
    fedilink
    402 years ago

    Sometimes working at something for long enough puts you into like a fugue state. It’s like the opposite of “flow” where you just dumb down.

    ^This happens to me only when I had entered my dumbzone the previous shift

    • @herr@lemmy.world
      link
      fedilink
      18
      edit-2
      2 years ago

      Happens. Then you come back to it after a few days and all the shitfuckery of last session becomes so damn obvious.

      • @danwardvs@sh.itjust.works
        link
        fedilink
        English
        102 years ago

        I’ve done this so many times at school and work. It’s crazy what you can accomplish by leaving a problem until the morning.

  • @tslnox@reddthat.com
    link
    fedilink
    392 years ago

    I’m not really a programmer but when I code something at work to make my job easier and I have to go before I finish it, I write a little comment for my future self to explain how I’m thinking at the moment, to help restore the flow.

    Usually it doesn’t work. :-D

    • megane-kun
      link
      fedilink
      English
      6
      edit-2
      2 years ago

      Because my work tends to have me working on a wide variety of features, and thus operating on vastly different parts of the codebase, I make it a point to comment out every change I make complete with the ticket that requested the change, and what the intended effect of the change is.

      Cue me returning to piece of code I made (after the inevitable bug has arisen) and me staring at my own code changes in bewilderment, wondering what past me really wanted to do. Hahaha!

  • @dustyData@lemmy.world
    link
    fedilink
    212 years ago

    Opening a repository for the first time in months.

    Which brainless moron wrote this idiotic code?

    Runs blame.

    Oh, it was me.

    • pjhenry1216
      link
      fedilink
      212 years ago

      Fuck, I’ll look at code I wrote like a month ago and be like, “what was I thinking?”. So I try to fix it, run into some stupid issue and be like, “oh, right.”

      And this is why comments are useful on code who’s purpose or reasoning isn’t super obvious or even looks counter intuitive.

      • @dustyData@lemmy.world
        link
        fedilink
        132 years ago

        A professor used to say, we don’t write code for the machine. The machine doesn’t need code. It would be just as happy whether we hand carve 1s and 0s on ferromagnetic disks or if we wrote a compiler for emojis. Binary is binary. We write code for the humans. So make it legible.

          • @dustyData@lemmy.world
            link
            fedilink
            42 years ago

            I never said anything about comments. My professor advocated that the code should tell yourself and other humans what it was making the machine do. Comments should document the design and the architecture. Not explain the code. A well designed and correct code needs few comments.

    • 👍Maximum Derek👍
      link
      fedilink
      English
      82 years ago

      No one is a real programmer until they’ve experienced that sensation.

      It was more fun before blame, because sometimes it would take 10 minutes to figure out you’re the dumbass.

  • @fosho@lemmy.ca
    link
    fedilink
    English
    152 years ago

    I understand and think the intended content is good. but who would post this with such an obvious layout flaw? it used to be posts with terribly distracting grammar whose intent was relatively easy to decipher. lately it feels like even more basic and obvious rules are being lazily ignored and even shared.

    WE LIVE IN A SOCIETY.

    • @Numuruzero@lemmy.dbzer0.com
      link
      fedilink
      English
      22 years ago

      I’ll be honest, for a minute I thought it was not a flaw but referring to “Monday Me, on Monday” which is a concept I can relate to

    • @tweeks@feddit.nl
      link
      fedilink
      12 years ago

      The text might be automatically added with some script or AI, to perhaps fit different sizes or create items in a batch. Or someone was really lazy, or a combination.

  • @ProfessorPuzzleCode@lemmy.world
    link
    fedilink
    13
    edit-2
    2 years ago

    I’m always pretty happy if I have a bug last thing on a Friday. Gets me right back into it first thing on Monday. It’s kinda weird, but works for me.

  • @Okalaydokalay@lemm.ee
    link
    fedilink
    122 years ago

    My boss has a morning meeting where we tell him what we’re working on for the day. And every Monday, this meeting is at 8:00 when my shift starts. I’m thankful my name makes me further down the list because I would be stumbling to get that.

    He’s a cool guy and not overly micromanager or anything, so it’s not a huge thing, but just reminded me seeing this meme.

  • @Bye@lemmy.world
    link
    fedilink
    112 years ago

    If I didn’t do this, I wouldn’t have a job

    Gotta leave unfinished tasks and make frivolous jira issues so it looks like there’s a reason to keep paying me to do 2 hours of work a week

    • pjhenry1216
      link
      fedilink
      52 years ago

      For someone who gets paid hourly, I’m only willing to go so far with unpaid work past when I’m supposed to stop.

      • @Knusper@feddit.de
        link
        fedilink
        32 years ago

        I mean, I do get paid for overtime (flexible work hours) and do like to complete tasks before I go into the weekend, but sometimes all your team mates decide to call it a day, and then yeah, I don’t care that hard either…

  • Elise
    link
    fedilink
    32 years ago

    //TODO write todo comments in your wip code.

    Your IDE will make them easy to find or you’ll just run into them.

  • @Cwilliams@beehaw.org
    link
    fedilink
    22 years ago

    I started using suspend on my dev laptop. I basically never close Neovim, and I write notes to myself about what the code does for the next time I open my laptop. I know that’s what comments are for, but whatever