Hey all,

I wasn’t quite sure what to title this, so I gave up and just asked the question. I’ll be a bit vague, as the point is not the specific bit of code I’m stuck on, but moreso the general issue of an uncooperative brain.

How do you make any real progress learning if you deal with frequent brain fog and have terrible short term and long term memory?

For example, I finally learned how something works after months of trying to wrap my head around it. Didn’t end up using it for a few months more, and now I forgot it again. I’m back to square one, trying to relearn things I already learned. And that’s assuming I wake up and can actually focus on anything. Some days, brain fog rolls into the harbor and I just stare dumbly at the screen, barely able to concentrate on the task, much less think about the code or complexities. It’s impossible to make progress on days where I forget what I was doing before I even start.

Other days, my brain seems to be running on all cylinders, and I can storm through my work almost effortlessly, learning as I go and making more progress in a day than I did the week or two prior.

It seems like the only things I truly retain are mechanical. The basic nuts and bolts, the simple concepts like how variables work. It took me longer than I’d like to admit understanding calling and writing functions. Things that are more abstract or high level are easily forgotten. It’s a nightmare.

So, what do I do? How an I work around this problem-child brain of mine and actually LEARN?

I’d be interested to hear from anyone who dealt with something similar. I’m also eager to hear from any fellow neurodivergent folk, who might have a similar problem wrangling their grey and white matter into shape.

UPDATE: Thanks for the ideas and encouragement, everyone. I’m a bit busy, but I’ll get around to some individual replies soon. As a general note, seeing a doctor would be a good idea, but without insurance and a well paying job, I couldn’t afford to see any kind of specialist, or even make frequent appointments with a GP. I appreciate the well wishes though.

  • MajorHavoc@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    One silver lining is that those of us who deal with brain fog and memory challenges make the best documentation updaters.

    It amuses me when folks say “thanks” for my documentation updates.

    Yeah, sure, I distilled that guide down to one incredibly clear, hard to mess up guide, for you, my coworkers. I’m all heart! /s

    • Wes_Dev@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Holy shit. You just reminded me that I used to be one of the people documenting and updating the wiki for MyPaint. You’re 100% right.

      Maybe I should try doing something like that again, start small and use the process of the documentation to help me learn and engrain stuff rather than flailing around trying to implement it from scratch.

      Huh. I like this idea.

  • imperialcoder@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I’ve struggled with something similar in the past and there could be a lot of reasons for it. I’d say overall though don’t beat yourself up, we all tend to learn in different ways and struggled with different concepts and aspects in our lives.

    I’d start with your health and making sure you brain has enough nutrients, are plenty hydrated, have lots of sleep, and you have some sort of exercise you enjoy. keeping your body in shape tends to cut down the amount of energy you need to keep it running so it in turn frees up resources for the brain.

    next, I’d try to come up with a strategy for how your brain tends to work, especially when at low capacity. develop strategies to help re-engage your brain at those moments. for some pacing or just going for a walk helps. others, having something to fidget with. for me, I tend to fidget with something or doing something mindless while thinking about the problem I have at hand. you’d be surprised at how much that can kickstart your brain back into gear.

    next, try lowering your overall mental capacity. cutting down on decision fatigue can help a lot. some examples could be automating aspects of your day to day life, cutting down on certain stimulus, or just making decisions in advanced so you don’t have to think too hard about it. this can help clear your mind and help you keep focus for longer periods of time.

    next , explore some stimulants. do be careful though and make sure it doesn’t conflict with your overall health. for some a cup of coffee is all they need. I tend to reach for 1 cup in the morning to increase my focus and throughout the day I drink Teas with lions Maine and reshi. the tea can help open neural pathways and caffeine tends to keep your brain alerted and focused.

    lastly, you can look towards pharmaceuticals or drugs. personally I feel this is the last place to look and again shouldn’t interfere with your overall health. these can be dangerous but if used properly and in moderation can boost mental performance. I’ve used ADHD meds in the past and they can help a ton if that’s what you need. talk with your doctor to see if it’s something right for you. on the other side, psychedelics, more specifically psilocybin can help create new neural pathways rapidly. I’d say use it as a last resort and you’ve done extensive research on it and know the risks to your health and the legality of it in your area.

    I hope this helps. programming is hard! it takes the best of us to really understand it all. whenever I struggle to learn a new concept that I think should just be easy, I always look back at how far I’ve come and just be proud of it no matter how small. best of luck!

  • zout@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    For me: Mini breaks and short walks help get my head clear, or at least less foggy. Explaining it to someone else also helps, even if the other person is imaginary (which is in most cases for me). Note taking can also help, but I suck at it. When I did do it, my best notes are (for coding) files with a code example containing lots of comments.

  • Pamasich@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    For example, I finally learned how something works after months of trying to wrap my head around it. Didn’t end up using it for a few months more, and now I forgot it again. I’m back to square one, trying to relearn things I already learned.

    If this is such a frequent problem, start writing down what you’ve learnt. Get a notetaking app (my personal choice is obsidian) and record any knowledge that took you work to acquire. Then next time you need it you can just check your notes and there it is, instead of having to put all that work into it again.

  • ezekielmudd@reddthat.com
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    How good are your sleeps? Are you drinking enough water?

    I know that I get brain fog if I sleep poorly or forget to drink enough water.

    For coding, I try to explain to myself exactly what I am trying to solve using the most simple explanation possible.

    Usually, the program will perform a series of steps. I work on each step, in code, until I solve that step. Then I move on to the next step. Divide and conquer.

    Like the other person asked, have you sought out professional help for any possible medical issues? If you have ADHD then a professional can give reliable guidance on how to compensate for the main ADHD symptoms.

    Good luck! You CAN do it!!!