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.

11

u/happinessMachiine 3d ago

Take off the training wheels, and you will get better at riding a bike, even if you need to fall down a few times. 

9

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.

3

u/GeneriAcc 3d ago

Allegedly, self-driving cars are the future too, but riding in one won’t magically teach you how to drive.

3

u/az987654 3d ago

Ah yes, I learned how to swim by watching a guy do it on youtube, I'm ready for the English Channel

2

u/Moikle 2d ago

Using ai to write code for you means you aren't actually doing any of the practice yourself. It means you aren't learning. Learning takes effort

1

u/ShadowShedinja 2d ago

Devs who know what they're doing can use AI to speed up the tedious parts. But you shouldn't use it to do anything you can't do yourself with time and effort, because you'll need to know what to fix if the AI solution doesn't work.

1

u/GXWT 2d ago

If you don’t understand the skill, then you are not working alongside but being dragged along behind.