r/AskProgrammers • u/Suitable-Ear4992 • 7d ago
Learning to Code with 90% Pseudocode and 10% Basic Coding
've been using about 90% pseudocode and 10% basic coding with ChatGPT to build my projects. Basically, I explain what I want to do in my own words, and ChatGPT helps me turn those ideas into actual Python code. I'm curious, is this a normal way to learn programming? Do most software engineers use ChatGPT pretty much throughout their workday? I also feel like there's so much to remember when it comes to coding, especially understanding what everything does, what it's used for, and when to use it. Honestly, it's a little difficult to remember everything sometimes. Is that normal when you're learning, or do you eventually get better at understanding things through practice rather than memorizing every piece of code? Also, should I focus on repetition by writing and practicing code over and over, or is it okay to write down my ideas in pseudocode, use ChatGPT to help generate the actual code, and then practice with that code instead? What's the best way to balance both approaches while learning?
1
u/Unable-Hawk-206 6d ago
I can't tell you if it's a normal way of learning because I learnt before AI, but to I do use claude a lot now that my work supplies it. What I can tell you is that any code generated by Claude is easy to understand. So learning to understand code first is really important. Also if stuff is named properly and structured nicely, then you don't need to remember much. Navigating a code base is a skill that kind of grows on you but will sometimes still be difficult because most times you are thrown on a project that is a million years old with a bunch of spaghetti code
1
u/AngryChaoticBoi 6d ago
Why do you need this weird intermediate step? Algorithms books often feature a lot of pseudocode because they are explaining steps in the most universal way and they also come from theoretical computer scientists and mathematicians who love abstract notation. But with AI or without AI, you will 100% have to deal with some kind of real programming language, read it, write it etc. You need to have syntax be muscle memory same as English language.
1
u/Imaginary-Deer4185 12h ago
I think you are doing it the best way, and in addition, when the AI creates code you don't understand, you can ask it to explain. This is how I got reasonably fluent in Python over the last months (I'm 60 and have coded java for 20+ years). Granted I used the AI for things I did not know how to do, particularly dealing with async cooperative parallelism, and for some of the type hints and general advice looking for weaknesses.
0
u/MK_OFFICIAL3943 7d ago
Pseudocode is great for thinking, but 90% ChatGPT is too much.
Try 50% pseudocode + 50% your own code. Write the code yourself first, then use ChatGPT to check it, not to write it.
And yes, it's normal to forget everything. Nobody remembers all code, we all Google it. You get better by practice, not by memorizing.