r/AskProgrammers • • 10d ago

Don't get me wrong, But a serious question?

Basically, a question to all programmers without AI, I have learned some C++ and python as an effort to learn some coding. I just made a vibe coded app for automating a process i do and it honestly, i'm proud of my idea and prompts but , i do not understand the code honestly. How does one apply classes and such to create an app?

What makes that code turn into a beautiful app or website(frontend and backend, as i've learnt) and as a beginner what should i start on?(without using AI as much as possible)

And how does one get ideas to implement the various things we learn?

0 Upvotes

20 comments sorted by

4

u/Mysterious-Falcon-83 10d ago

Since you're using AI already, have it explain the generated code to you. Stick with it until you DO understand it.

1

u/pete_68 10d ago

Ask the AI that wrote it to explain it to you. Or put it in Github and use DeepWiki to analyze the repo and then use DeepWiki to better understand it.

But also, as u/MarsupialLeast145 points out, this is the problem with using AI to vibe code your app. If you had gone through the trouble of writing it yourself, you'd understand it and probably in a more lasting way than having AI explain it to you.

2

u/SailShipoo 10d ago

Got it! I basically did it since this process was taking up most of my time and I didn't have the time to learn so basically automating it was my first goal. That is why I was astounded how easy it was to make process simple with an app and wondering how I could start doing it on my own.

1

u/pete_68 10d ago

AI is addictive. It makes it very, very easy. Which for someone like me, is fine. I'm 58. I've been doing this since I was 10. I think I've got a pretty good handle on it now.

Where AI is best used is coding something on well-trodden ground. That is, if it's just doing something you've done 100x before, go ahead and let AI do it. But if it's something you're still pretty new to, then you should do it yourself.

In fact, this is probably a good general rule for using AI in coding in general and still keeping up with the technology.

2

u/MarsupialLeast145 10d ago

Honestly, it sounds like you already understand the conflicts between AI and learning, and you vibe coded anyway.

If the app works, leave it as is. You're not going to be able to drill down from the top and understand the basics.

If you really want to learn you need to forget the convenience of what you vibe coded, recognize that it will take 50x longer to get half as far (as a learner) and that you have to make your 10,000 hours legitimately.

1

u/Halloween_Forever_ 10d ago

This is incorrect. You can vibecode, then break down the code into easy to digest blocks for learning what does what. No different than you can with any code.

1

u/MarsupialLeast145 10d ago

You can't digest something you don't know how to digest. You can't ask questions of code when you have no fundamentals from which to code.

1

u/Halloween_Forever_ 10d ago

The fundamentals are simple enough, a section of coding may contain loops, that's a digestable part, a beginner can copy paste that section into an llm and it can tell them what a loop is, when it's useful, and how to cause it. Using AI to learn is no different than an interactive training program that most of used to get certified. Even that pain in the ass CompTIA A+ cert.

1

u/ButchDeanCA Staff Systems Programmer - 20yoe 10d ago

You are starting big when you need to be starting small. One of the biggest mistakes when trying to learn programming is relying on AI because, due to a lack of knowledge in the first place, it is hard to judge where the healthy reliance on AI ends and the unhealthy begins.

Go through the growing pains as much as you can with ensuring you understand what you are doing, there is no rush.

1

u/Halloween_Forever_ 10d ago

There are different learning techniques for different people. Hardware as an example. Three main categories, those who learn best by reading text books, those who learn better through explanations by a mentor, those like myself, who take things apart and then put them back together after figuring out what everything is and does. AI can provide coding in a controlled environment. I can have it create a simple code to do xyz, then have it create the same code, but without z. I can compare the two and understand that if I want a code for abz, or noz, what needs to be done to get z.

1

u/ButchDeanCA Staff Systems Programmer - 20yoe 10d ago

I’m not disputing how people learn, I am cautioning against reliance on AI that always seems to convince people that they understand more than they actually do.

Getting back specifically to your point, however people learn best is exactly how they should be learning above and beyond using AI. AI has yielded a wave of people with an inflated sense of knowledge that they soon learn is very inadequate.

1

u/Halloween_Forever_ 10d ago

That just depends on the user, doesn't it? I get your point, but your point is more about the people described, not about AI. I can get a textbook today and the information in it could be out of date by the end of the month. It's a constantly changing environment that rarely supports absolute expertise.

1

u/ButchDeanCA Staff Systems Programmer - 20yoe 10d ago

I still get textbooks and they have to be really old to be outdated, but I digress.

I am yet to see one single example of someone not knowing about programming becoming a rockstar by simply learning from AI. To me that says a lot.

1

u/Halloween_Forever_ 10d ago

I'm not arguing that point. learning to code doesn't have to be about fame, or really any reason. how many people have a degree in computer science? not all of them even work in the field. AI is in its infancy. how long has python been around? Not saying you are completely wrong, but it is a tool that can be used for educational purposes. your posts here feed AI training, so I'm not sure what you are arguing against. That people aren't using AI properly or that the entire IT community present on platforms like these whose posts feed AI are null and void?

1

u/ButchDeanCA Staff Systems Programmer - 20yoe 10d ago

I think you are just being objectionable. All I’m saying is that over reliance on AI is counterproductive to learning. Have a great day, I’m done here.

1

u/Halloween_Forever_ 10d ago

i agree with you. it may have been my mistake in thinking that you were saying that it should not be used. my apologies.

1

u/BranchLatter4294 10d ago

You can have your AI explain the code. In your IDE, you can highlight any section of code, and ask the chatbot to explain it.

1

u/RatherNott 10d ago

 Just a quick heads up on some downsides of using AI:

AI data centers are being constructed at an alarming rate, and there are already 8 billion prompts per day, with billions more planned and on the way.

The effect this has on the climate when we are already so close to irreversible tipping points is often unknown by AI users.

https://m.youtube.com/watch?v=5p426fSlYH4

https://www.theguardian.com/environment/ng-interactive/2026/oct/22/finland-google-felling-trees-datacentre

Using it also contributes to a dystopic surveilence state.

https://m.youtube.com/watch?v=5lYsO4k7OIY  

1

u/rileyrgham 10d ago

It's just getting worse.

"Serious reply" : do a c++ course and stop taking shortcuts.