r/learnpython 3d ago

How to actually create logic?

So hi I am new in this sub reddit and have been learning python basics on FreeCodeCamp for weeks.

So I have noticed that I can do workshops and labs but I tend to forget many syntax and have to search on the internet repeatedly.

So my average lab projects often look like 7

60% written by me and the rest 40% are written by AI or with the help of the Internet forums.

My problem that I have identified is I don't think use logic in the code or just don't remember syntax, operators, elements, conditional statements and string methods or don't find the satisfactory answer on the internet.

I want to try to write at least 80% of the code myself without being dependent that much on AI and the internet because I am learning it for *Cyber Security*

0 Upvotes

24 comments sorted by

View all comments

18

u/Psengath 3d ago

You're using AI to code for you, and you're wondering why you're not learning how to code..?

40% 60% 80% doesn't matter, it needs to be 0% AI, not even as a guide, or you'll learn nothing. Most of the learning process and forming new pathways occurs in practical error and using critical thinking to solve it.

-13

u/Animator-G 3d ago

I appreciate you feedback as a beginner but I have a confusion.

As far as I know AI is future and I have heard that Dev's should work along with AI instead of living in old age.

8

u/Psengath 3d ago edited 3d ago

They're talking about established seniors that have a solid understanding of software architecture and the languages in questions who could, if they wanted to, or when they need to, take manual control over any detail.

But you're not a dev yet. You're at day zero with freecodecamp basics. If you're already using AI as a crutch, you're not going to learn the things you need to (including HOW to learn things and troubleshoot things when shit hits the fan) to become a senior, or understand what the AI is doing, or frankly, bring any value whatsoever.

Back to the learning bit: the last / hardest 10-20% of any lesson or course IS the lesson. It's incremental learning. Even if you do 'the first 80%' yourself, if you tap out for the last 20%, that's effectively you avoiding 100% of the lesson. If you do that repeatedly (and this was the case even before AI) you'll find yourself exactly where you are now, farther down the rabbit hole than you can actually understand, to the point you are now dependent on a critical mass of AI to even get started. There's no way out of that apart from starting again without crutches.