I have this huge desire to learn programming but its stopped by me not being able to sit down and say “now its studying time” any advice is appreciated.

  • folkrav@lemmy.ca
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    11 months ago

    I don’t have a good answer for the question in the title, but for programming specifically, I’d say try and solve a problem you have instead of studying it. It’s one of those things that’s IMHO much easier to learn by trying things out. Start small. Little things you’d like to automate, annoyances on your computer, things that could be useful for your work, etc.

    • Tippon@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      This is what seems to work for me. I built a website for a small music festival and wanted to have the same headers across all the pages. I found out that I could write the header in JavaScript and just call it on each page, meaning that updates would only have to be done to one file.

      I copied the code from an example I found first, then tweaked it to suit my needs, and then played with adding and removing functions to see what they do. I then copied the format for the footer, and found a few other ways of tweaking the site with JavaScript.

      I’m still a long way from being proficient, but I understand a lot more than when I started :)

  • kglitch@kglitch.social
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    11 months ago

    One of the limitations that people with Autism and ADHD often struggle with is that it is harder than average for them to imagine the future. Without that, it is more difficult to have a vision for oneself that is different from the present and consequently difficult to gain motivation to change. It’s a form of mental blindness that is very subtle until you notice it.

    Try to find ways to get really clear about the future. Define what your vision/goal is and then at the start of every day remind yourself what that is. You need physical reminders, in multiple places and forms. Objects that represent your goal, displayed in a prominent place in the home, pictures of the goal (or benefits of the achieving the goal) on your desk, a computer desktop background that is a collage of different facets of your future life, and so on.

    Make it impossible to forget how awesome your life will be if you make the decision right now to open your IDE and do 5 minutes of study/practice (which will hopefully trigger your hyperfixation and turn into an hour or more). Getting started is the hardest part.

    Find a way to hack your brain to make it do what you want.

  • schmorp@slrpnk.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    11 months ago

    Make it into a structure with a fixed position in your day - like for example every day after dinner, at least 30min. Best combine with a reward after: after the studying is done, you prepare a nice warm goodnight beverage for yourself and enjoy some mindless scrolling.

    Also, for everything new we add to our day we will lose this time for other activities. I sometimes have to check back and make sure my planned activities actually fit into the 24h of a day - how is that for you, do have time enough to learn programming? What else do you have to give up on?

    And, I’ve found making less of everything really helps. So what, I only knit 1 row a day, write only 1 page, but if I can do that consistently for months in a row it’s a lot better than forcing myself to do several hours of something during two days and then give up.

  • Cyber Yuki@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    I’m afraid that can only be solved by discipline. Even if you stay on your seat doing nothing and fighting your mood, consider that a session of work.

    Yeah, making habits is hard.

  • qaz@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    11 months ago

    Don’t study too much, just take a small problem (e.g. interest calculator) and start making it, it’s way easier to learn that way (for me at least). Don’t make the tasks too big and ensure the end goal is clear. You can always add new things later after you’ve finished your original idea.

    And another piece of advice: it’s better to finish something small than to get bored and disinterested making something bigger.

  • What083329420@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    Get a cool project to build. I do advent of code (it’s a tough one though, so don’t expect to get very far. The first few days are easiest.)

    Another project I build that I liked was: Build a green window with a grey square (Bunny in a field) Make the square move around randomly Make dark green squares (plants) If the bunny comes within x distance of a plant it goes there to eat it.

    Then I started complicating things with generating random ponds the bunnies couldn’t cross. Creating a fox that ate the bunnies. Bunnies procreate. Etc.

    I liked that project and I learned a lot while building it.

  • 0x4E4F@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    11 months ago

    I usually just set like a time period that I need to study in, like let’s say 8 hours (with small pauses in between an hour or two).

    PS: I’m not autistic, but I do believe I have some spectrum symptoms. I am getting diagnosed in a few months.

  • vibinya@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    I taught myself, but I had to find the right way to learn- it had to be visually stimulating and engaging. I can’t do the Udemy style video courses. I’m not sure if it’s the same as it was, but I super enjoyed Codeacademy. The courses were all interactive and visually showed me what I was doing. They were also in small chunks and built upon each other. Also, know that while most languages appear different, they’re all fundamentally doing the same thing, so try to find one which feels fun for you; once you’re proficient with the basic concepts, you’ll start seeing them in every language!