r/ADHD_Programmers • u/AdFormer9844 • 1d ago
How do you prevent yourself from overusing AI when learning?
Hi, I'm a CS student, and when I'm working on a programming project, I often fight with myself over how I should be using AI.
Not using AI at all is the obvious answer, but then I'm forced to read documentation. I learn much more easily when I'm able to ask an AI direct questions about a concept rather than sifting through walls of text.
But once I have that chat open, it's just too easy to slip and ask AI to solve all my problems when I'm facing a challenging task. I keep asking myself the same questions over and over again. Is it fine to ask for the solution to this problem? How much project context should I provide? Should I stick with ask-only mode? Is this cheating? Am I robbing myself of opportunities to learn?
I feel so confused because I'm actively trying to tackle a problem in a different way than my instincts tell me to. If I solely focused on solving the problem instead of learning, I'd just vibe code my way to the finish line.
On one side is the rational side of me, the one that understands that generally, the more I use AI, the less I'll learn. On the other side is the version of me that wants to solve the problem in the most efficient way possible.
Is there anyone who relates to this? Have you found any solutions? I'd like a way to enforce a hard rule that guides me towards the correct way of using AI. I don't want to keep asking myself the same questions over and over again; I just want a fixed guideline that I can follow. I'm currently considering creating a prompt that can serve as this guideline.
Edit: Thank you everybody for your replies! I'll focus on eliminating my AI usage.
9
u/_Bia 1d ago
Wean yourself off the behavior by building confidence in your own ability to solve problems.
Keep going from here expand to solve independently when you want to and see yourself as better at than the AI, versus when you want to and off a solution for "good enough".
6
u/Garland_Key 1d ago •
Separation of concerns. Do all of your school work on a virtual machine, or separate partition, or separate laptop that has no AI products installed.
Then use AI for personal / not school related stuff so you keep up with the tech in the host, other laptop, or other partition.
2
u/kadfr 1d ago
Personally I would not use LLMs at all during the initial learning process.
If you rely on LLMs as crutch before you have a good basic understanding then it will ultimately take far longer to actually learn concepts.
Even using LLMs to comprehend documentation isn't ideal - not least because their explanations might be incorrect and as you say, the mere presence of the chat window is a huge temptation.
Personally I use any source other than an LLM for guidance, whether that is Stack Overflow, text books, google searches, Reddit, core documentation or trusted tutorial sites. I'd even prefer random tutorial sites from Google searches (which may or may not be copy & paste jobs from LLMs).
The reason for this is more I use LLMs, the more they became embedded in my every day routine. I found myself engaging my critical analysis less and less because it is far easier to just ask the magic box for the answer.
Moreover, LLMs are built around similar dark engagement patterns as social media sites (which themselves follow gambling mechanics). The AI companies want users to be 'engaged' and they do by targeting dopamine reward systems.
Anything that triggers a dopamine respobse is particularly dangerous for people with ADHD as it is habit inducing/addictive.
It might be possible for people with ADHD to limit their use of LLMs but it will always be a huge challenge just by the way our brains are wired.
I would try to divert your brain's endless quest for dopamine towards the problem-solving aspect of programming rather than being distracted by the gambling-lite mechanic of Claude et al.
2
u/Callidonaut 1d ago
Find a suitably knowledgeable human being whom you can ask such questions instead. This is one of the reasons universities were first invented, to give students ready access to such experts.
1
u/GoTeamLightningbolt 1d ago
Can you write a project where the LLM never updates the source code? How about where you type everything out and refuse to even copy-paste?
1
u/Awkward_Block9860 1d ago
Maybe I would spend a reasonable amount of time doing a problem set "on my own". Now, what is a "reasonable amount of time"? That is the $64,000.00 question. Only the student himself/herself can answer this. Say 1 hr. Then, after 1hr, go back to Problem #1 and try one more time on your own. If you still can't make any progress, ask AI for help. Repeat this process for the remaining problems. Or, whatever method works best for you. I hope that helps.
1
u/meldroc 1d ago edited 22h ago
Don't ask the AI to write the code for you. Tell it to show you how to do it.
1
u/TheMonsterLock 1d ago
School is one of the best times to really work on improving your rational thinking before you get out into the world where it can get increasingly and rapidly chaotic. Sure you will continue to grow, but you may find yourself having less time on introspection which can be important to self-correcting your way of reasoning. Developing your independent thinking now will continue to pay dividends throughout your future as it improves your efficiency and also ability to grasp underlying elements shared between different domains. Your use of AI shouldn't be a tool for substituting your thinking, but an aid for challenging your thinking.
1
u/Weekly-Beginning-229 1d ago
Never ever us AI when learning. Learn by trying. It's extremely exhausting but extremely rewarding when you solve it. It's why we love coding, the endorphin gain of solving a problem after trying to find a solution for hours.
I tried to learn kotlin (as a professional .net programmer) but used AI and I seriously learnt nothing because of it. You have to accept that you will struggle for hours but once you finally figure it out it feels so good!
1
u/Green0Photon 1d ago
Don't use AI at all. This was the world for all of us, not too long ago.
You'll be able to read docs with practice. And some grace for yourself.
You often won't understand everything first go, or even first session. Sometimes you need to walk away and let it churn in the background. Sometimes you need to give it a shot and fiddle around with code.
Sometimes you gotta break out the rubber ducky and try to explain the concept to it.
Sometimes you should ask for help from another human. Or just a friend to bounce off of.
Yes. Even for any AI use at all. The less you can use it, the better.
Learning isn't about efficiency. Learning is about learning. Paradoxically, any attempts to go faster make you go slower.
Once you let go of the desire to go faster, only then shall you do so.
1
u/KestrelTank 1d ago
Maybe depends on the person but for me I usually use AI to explain new concepts to me, then I might ask for boilerplate examples or to walk me through how variables are moving through code. But I don’t ask it to solve things for me, just help me understand things I don’t know enough about to know where to start.
If it’s too tempting to ask it to solve problems I would try to back off, but I’ve found it really useful to explain new concepts/verbiage/processes that feel like stupid questions.
When coding specifically, i always use chatGPT on my phone and work on problems on my computer, this greatly reduces that easy copy/paste for answers.
1
u/neherak 1d ago
I don't mean any shade here, but this is wild to me. "Sifting through walls of text" and being able to read documentation is one of the main skills related to solving problems yourself and actually build understanding. If the AI is wrong, that's the main way you'll be able to tell.
The truth is that there really isn't a good way to use AI for learning, because if you don't exercise difficult skills with your own brain, you aren't learning by definition.
1
u/lawrencek1992 22h ago
You dont use it. Thats how many of us learned originally.