• BlackPenguins@lemmy.world
    link
    fedilink
    arrow-up
    84
    arrow-down
    1
    ·
    2 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.

    • camr_on@lemmy.world
      link
      fedilink
      arrow-up
      19
      ·
      2 years ago

      Every Friday I think that I should do this for my benefit on Monday, and then immediately forget the thought and log off

      • BlackPenguins@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        Depending on how complex it could be as short as two sentences or just bullet points. Just enough to kick start my memory.

      • BlackPenguins@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        2 years ago

        Not code. I keep a text file “work_log.txt” on my desktop that has the date and what I worked on that day. Useful for scrum too.

        Today’s:

        • Finished the modal

        • Solved the swallowing of the exception with parsing errors

        • Next: Review modal code and test

    • AlexWIWA@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      Yup. “finished this, start on this next week”

      Usually less than two complete sentences. I find this more important with personal projects that I may not pick up in a few weeks

  • tslnox@reddthat.com
    link
    fedilink
    arrow-up
    48
    ·
    2 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

    • chiliedogg@lemmy.world
      link
      fedilink
      arrow-up
      27
      arrow-down
      1
      ·
      2 years ago

      You didn’t have to explain you aren’t really a programmer.

      Saying you write comments implies it.

    • megane-kun@lemm.ee
      link
      fedilink
      English
      arrow-up
      7
      ·
      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!

    • jazir5@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Now you can try to get chatgpt to explain what it does. Or Facebooks code llama.

  • FUCKRedditMods@lemm.ee
    link
    fedilink
    arrow-up
    41
    ·
    2 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
      arrow-up
      20
      ·
      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
        arrow-up
        11
        ·
        2 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.

  • dustyData@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    2 years ago

    Opening a repository for the first time in months.

    Which brainless moron wrote this idiotic code?

    Runs blame.

    Oh, it was me.

    • 👍Maximum Derek👍@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 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
    arrow-up
    16
    ·
    2 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
      arrow-up
      4
      ·
      2 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
      arrow-up
      1
      ·
      2 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
    arrow-up
    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.

  • Bye@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    2 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

    • ikapoz@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      ·
      2 years ago

      I’d argue that if it’s possible to only partially complete it, it wasn’t an atomic task to begin with.

          • QuazarOmega@lemy.lol
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Oh yes, but you know what’s even more productive? We could write an automation script, I can make it type and pause on weekends at 100x the speed!

  • brax@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    I always thought this was just a “me” thing. I’m so glad it’s not. I just wish my wife understood…

  • xilliah@beehaw.org
    link
    fedilink
    arrow-up
    4
    ·
    2 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.

  • EfreetSK@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 years ago

    I know this is a common joke but how many of us don’t have a problem like this?

    Personally I usually have a horible memory but this is never an issue for me, I can stop at any moment and pick up relatively quickly later

    • Knusper@feddit.de
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Yeah, I’ve developed a habit of writing TODO-comments wherever there’s still something unfinished. And well, I usually leave in a compile error to force me to continue exactly there.