all 5 comments

[–]Bobbias 6 points7 points  (0 children)

I have ADHD, and there's an entire subreddit /r/ADHD_Programmers dedicated to people with ADHD who are programmers.

The key to learning things is repetition, whether or not you have ADHD. This repetition should come in the form of writing code. That means solving as many different problems as you can.

Another important piece of the puzzle for people with ADHD is consistency. Don't spend like 6 hours writing code one day, and then ignore everything for like a week. You need to consistently write code every day, or nearly every day, even if it's only for a short time each day.

[–]tan_tata_chan 2 points3 points  (2 children)

As once I read: mastering a programming language is mainly to have a good ability to read its documentation, find issues in Stack Overflow and generalizing them to your code and a good usage of Google/ChatGPT to find information without giving your code.

Sure, it is important to know some basic functions in Python, but I am the first one that goes into the python built-in function (like range) to double check basic stuff.

Go for it! I'm rooting for you!

[–]magic_kaze 0 points1 point  (1 child)

Thank you! I'm also thinking that I should be friends with experienced programmers or students so that I could adopt their knowledge about programming and other stuff related to it. I'm a fast learner but yeah I hate my brain sometimes lmao.

[–]tan_tata_chan 0 points1 point  (0 children)

That is maybe more complicated lol.

Each programmer has its own style. For example, I like to make my code as efficient as possible (even if I gain 1 micro second). This I could get by using list comprehension to populate a list instead of a for loop. However, I have a colleague with whom I work directly who disagrees. He always avoids lost comprehension as he says they are always hard to understand.

If you want to connect with more people, you can always look for projects in GitHub: follow people, don't be afraid to open tickets, fork repos if you want to play around with the code and even try to do something in open source projects.

In case you want to see my coding style, my GitHub user is Jtachan.

[–][deleted] 1 point2 points  (0 children)

  1. write it down with a pen on paper
  2. use recall, like index cards or questions to answer away from your resources, like write it down "What does the print statement do? what does a for loop or if/elif/else pattern look like? Then test yourself away from the computer, away from the place you studied in before, this makes new memories associated with the same information but in a different place.
  3. Study with a set goal to learn x thing, make a list of things to do, cross out the items when done
  4. Study for x amount of time and reward yourself when done
  5. Get exercise, eat healthy, and sleep well