r/ADHD_Programmers • u/Square-Speaker2090 • 5d ago
Learning a programming language as an adult with AuDHD. How long until I can write code?
I'm not a programmer and have never trained as one. I work in SEO and want to specialise in programatic SEO which involves writing python scripts to answer common Tech SEO questions using Python. I've been learning for 2 months solid, dedicating a significant amount of time every day to it, but I still can't write Python without consulting an external resource. How long did you guys take to start writing code unassisted?
18
Upvotes
12
u/JoshTheSquid 5d ago •
You can write code now.
It’s simple: drop that goal of remembering everything. Entirely. It makes for impressive YouTube videos, but as a skill to pursue I think you’d have to try hard to find something that’s a bigger waste of time and more soul-crushing than that. Don’t wait until you remember it all. Just start coding now. Also understand that remembering comes from having written thousands of lines of code.
In terms of what to learn: get familiar with the basic syntax, data types (including classes) and control flow. Then focus on developing problem-solving skills.
Remembering everything is not programming. Understanding your problem case, defining what you want to achieve, seeing that you should divide your data into logical objects, and that those objects need to be interacted with in certain ways; that’s programming. And those skills carry over to every single language you’ll ever learn.
The docs aren’t there for you to remember. They’re there for helping you to express the ideas that you’ve got in your head.
3
u/yegegebzia 4d ago •
At the start of my career in the beginning of 2000s, it took me probably 2 years to even remotely write passable code. Another 2 years took me to fully understand the concept of OOP. I became a good engineer in the whereabouts of 10 years into the career. After 20 years into my career I probably achieved the level of being able to solve any task, in any widely used programming language. So, to put it short, it took me a while.
3
u/IAmADev_NoReallyIAm 4d ago
> How long did you guys take to start writing code unassisted?
I wouldn't be concerned about learning enough to code unassisted, but rather enough to be useful, and then know when and how to look things up when you need to. That's hre best best way to learn, by doing. After 2-3 months, you should know enough that you can stumble your way through a basic project... and if you have to look something up. so be it. I've been programming for over 30 years, working in mt current language for almost 10, and I'm still lookimg shit up.. The things you use all the time you will retain and remember and will "just know" like breathing... the rest you;ll remember a vague idea of but will need to look it up... but to get there, you have to do.
Good luck and keep at it, you got this.
I say all this as someone that has tried to learn Pythion 4 times... but because it's not something I use daily or often, I don't retain it well... But whenever I start back down the road, a lot or it comes back and I go "oh yeah"... so practice practice practice!
2
u/CyberneticLiadan 2d ago
Professional software engineers google shit all the time and I don't think I've ever written code with zero reference materials available.
Different aspects of programming sink in, fade, and come back at different rates.
37
u/9peppe 5d ago
Nobody writes Python unassisted, documentation is a tool of the job.
You'll eventually remember the stuff you use often.
14
u/SiouxsieAsylum 5d ago
Bruh I've been doing this for years and I still google shit in my primary language. It's gonna take time, probably a couple of years of consistent manual practice before you're able to get most of the way there and just need it to double check. It needs to get into the subconscious before it's automatic.
Just keep trying.
5
u/im-a-guy-like-me 5d ago
Depends how hard you're hyper focusing. But like... You're gonna suck for a lot longer than you think.
You already have the hardest part done though. You have a project you actually want to build. Just build it like a hundred times til it doesn't suck. There'll be new tech and new techniques every time you do it.
That's only a part of it though. Okay, you can code. Do you know anything about networking? Security? Observability? Deployment pipelines? Etc etc.
Basically... You'll be able to code in a few months, but it takes a whole team to build a production application. Programming hasn't been a 1-player game in a very long time.
3
u/Decent_Taro_2358 5d ago
I never write code fully unassisted. The code is a tool to build a solution for a problem I want to solve. It might be nice to write some pseudocode for a rough outline, but you’ll always be copy and pasting snippets from documentation or somewhere else.
With AI, things have changed a lot anyway. Your goal should be to get a general understanding, not to write code from scratch without googling.
3
u/Appleonthefloor 5d ago
I work as a swe and still look up things constantly. Keeping a cheatsheet/examples of the most common functions you use can be super helpful for scripting.
3
u/wvenable 5d ago edited 4d ago
I've been developing for more years than you can possibly imagine and there is no such thing as writing code unassisted.
As you get better, you might consult external resources not the all time but it's not like you're studying for a test -- there's no need to memorize everything.
It's much more like learning a craft than learning math -- the best thing you can do is just keeping building stuff. The more you do, the better you will get at programming.
4
u/Just_This_Only 5d ago
No point asking this question now, not with AI doing everything. You won't have to memorise syntax anymore. Just have to understand what it's doing.
2
u/Stellariser 5d ago
Think of it like learning a regular human language, how long until you can manage basic phrases without a reference? How long until you could have a rough but understandable conversation? How long until you converse comfortably but not at the level of a native speaker? Etc.
There’s nothing wrong with using references, even those of us with years of experience in many languages still have to start that way when we’re learning something new.
Keep practicing and give it time.
2
u/krocante 5d ago
Even without AI you can learn programming in a month if you’re commited to it.
You’re not supposed to write code without external sources though. Normally you would use an IDE with some sort of IntelliSense for code completion. Before AI everyone would be googling everything in stackoverflow.
So I don’t quite get the obsession with being able to do stuff “unassisted”. As long as you put the mental effort to understand the problems and the solutions.
2
u/Xehpq 5d ago
Yeah as the other comments said, you just use documentation if you forget something.
Whats more important imo for writing code unassisted, is being able to recognize coding patterns to reach your goal.
For example, if you wanted to read a csv file and go row by row, the coding pattern / approach is relatively the same for most languages, but being able to take that objective and have an idea to reach it through code, is how you write code unassisted. Its why its recommended to pseudocode and such.
2
u/pete_68 5d ago
I don't remember. I learned to program almost 50 years ago. But I wouldn't worry about it. In fact, in my own experience, I don't recall worrying about it. It came with practice and it'll come to you with practice. Just try to keep enjoying yourself. If you're enjoying yourself, you'll stick with it and the faster it will come to you.
And if it makes you feel better, I tried learning Python, but I used AI, so I didn't actually learn. I can read Python, but I can't write it without help. C# is my native tongue and probably the only language left that I can write without help. Dozens have held that rank through the decades though, especially in the first 2 decades. C# has been my #1 since '03, though.
2
u/PersistentBadger 5d ago edited 5d ago
You'll get to the stage where you know the language (if/elif, finally, from, None, etc), but you're still looking up the function calls. That stage lasts forever.
2
u/Formal_Sun_5529 5d ago
yeah unassisted code writing isn't possible really possible you'll understand and remember basic stuff you use on a daily basis, auto-suggestions in the IDE will help you a lot too . grab PyCharm community if you haven't already
1
u/dahavillanddash 5d ago
It just takes some practice. I learned in summer camp when I was 17. I learned Python and really liked how I could apply it to meteorology so I made it my career. Its really something you practice and get better at by making mistakes and learning.
1
u/somatt 3d ago
Until Claude tells you your tokens have reset
1
u/Random_182f2565 5d ago
...
Dude in 2026 the best programing lenguage is natural lenguage, but you should learn to make good flow charts :D
Dude use all the referential material you need, eventually you will learn it, or don't because programming is always changing.
The important thing is the flow charts.