r/CodingForBeginners • • 1d ago

Has AI helped you learn programming? Looking for feedback & early testers

Hi Everyone,

I was wondering if anyone here has used AI to help them understand programming concepts? What was your experience? What worked well and what did not work so well?

A bit of a background to why I am asking this, I've tutored students for a long time (about 10 years), in various topics, including programming, and in the last couple of years, I couldn't shake out the thought of how AI could be a great tool for learning if used properly. I have experienced first hand how tutoring could change how well and deeply students could understand topics opposite to learning in a huge classroom.

I have been working on a project where I am using AI to explain concepts to students, and I am piloting with programming, that's why I am interested to understand what your experience has been with chatbots such as ChatGPT...etc. and if you've used any other tools?

In case you're interested to be one of the first few testers, comment below or send me a DM, would be happy to get your feedback and develop this to be a truly helpful tool.

Thanks,

Daniel

3 Upvotes

15 comments sorted by

3

u/Anonymity6584 1d ago

yes. trick is to us it to explain consepts and theory, write code yourself...

0

u/driad91 1d ago

Yes, I fully agree! Do you have any tricks or any skills that you use when learning? Which chatbot do you use?

2

u/Own-Statistician-67 1d ago

Yes definitely. I’ve been using codex to teach me devops related skills. The trick is to have it lay out a lesson roadmap, with each lesson focusing on one skill. It does the teaching, you do the coding and understanding. That’s the general idea, but if you want to know more bout it, I’m more than happy to share

1

u/driad91 1d ago

Sounds like a great idea, is there anything that you felt was missing to make your experience learning better? or easier?

2

u/codegems 1d ago

I have not found it to be helpful because it becomes something students rely on. I like Viktor Löfgren’s take on using AI, although of course in his case it’s about the development of Marginalia:

I’d be on the hook for an AI subscription perpetually hoping and praying the token prices wouldn’t ever go up. This is a nonstarter for the same reasons the search engine runs on its own hardware and not in the cloud. You can’t be truly independent if you’re subject to the whims of a landlord.

I’m also a software development teacher, and students often complain that they have a hard time remembering how to do things without AI. So my rule is they can use AI on their projects if they want, but in our learning and assignments our resources are books and documentation. This makes for a good balance while making sure they still are familiar with newer development tools.

1

u/driad91 1d ago

I agree that often if students use chatbots such as ChatGPT, Claude and the likes, it could have a negative effect even, as they become over reliant on it, have you ever looked into socratic tutors though? basically AI Systems designed specifically for learning?

1

u/codegems 1d ago

Well that's what they have me for, I'm their private tutor. Maybe if my students were older and had more experience they'd know what kinds of questions to ask. But I teach at the high school / college level (roughly ages 16-22 so they are still early in their learning journeys). In the Socratic dialogues, Socrates is the one asking the questions and then the interlocutors give their opinions and Socrates finds counterpoints. My students are still in the process of learning what questions to ask, so they don't use AI for that.

1

u/driad91 1d ago

Fair Point :)

1

u/driad91 1d ago

Would love to have you test out the project I am working on to get your thought on it, on whether you see it potentially being helpful to students or not! we are trying to emulate the whole adaptability process of the private tutor using AI.

2

u/xarop_pa_toss 21h ago

Yes, not just programming but a lot of things. Let me tell you about this little secret called Notebooks... I use Googles NotebookLM but there's probably others out there by now.

I wanted to get into DevOps but it's an incredibly deep as well as wide field of study that goes from the actual development all the way to deployment and monitoring of applications running on multiple servers, docker containers, etc. I connected my Notebooks to Pi (LLM terminal tool like Claude Code or Codex for example) that has my Opencode models wired in. Since I'm not dealing with codebases, I use the beam-free model which is very competent for just explaining and documenting things.

I created a Notebook for each "discipline" inside DevOps and what I do is I open Pi inside my project folder and have a conversation with it, just like I would a teacher or tutor, going as shallow or as deep as I want into a topic. Then I tell it "ok, add these things we talked about to the appropriate notebook. Also add a section on common pitfalls and links and references you used during this conversation.".

Later, I go to Notebooks on my browser and it has incredible features like making quizzes, flash cards, infografics, etc which are amazing study material! You can just go and ask for a quiz specifically on docker-compose keywords, or on VPS configurations on Azure, etc

It is, to me, how AI should be used in general. This sort of use is like the ultimate evolution of search engines and I love it

1

u/driad91 20h ago

Wow, that's a really nice workflow! What I've experienced however with most of the students I am tutoring, is that they often struggle to ask the right questions, especially about a topic that they do not know. That's why I found that the majority of students benefit a lot from having a rather "proactive" AI that asks questions, understand the gaps in their understandings and asks them to explain the concepts in their own words, creates quizzes...etc.

1

u/xarop_pa_toss 19h ago

Nothing is stopping you from pre-configuring your LLM or harness of choice from being proactive. In my case, since I've been a dev for a few years, I want to be the one leading with the questions and I generally implement a "do not write on files and generate no code unless I explicitly ask for those things. If you deem that, during exploration of a topic, a code example would be the best demonstration, ask permission".
These configurations are pretty much the core of LLM interaction, and token savings too!

On the other side inside the Notebook website, Gemini can be equally configured (if it doesnt do it by default already) to tell you at the end of a quiz/flash cards session, what topics you did worse in. If your source (text files uploaded by your LLM, pdf files you upload, etc) are well organized, Notebook can even infer tags and put them into sections. All you need to do then is select a specific section, start a quiz, and it won't deviate from the topics therein.

1

u/Actual-Impact8802 1d ago

it is definitely helpful but most people don't use it as a tool but as an autocomplete. I think it is most helpful when utilising it to understand the theory of why and also having it explain what other options and what the best implementation per situation. Helps cut a lot of research hours especially when information is everywhere and most sites just repeat each other.

The most helpful way I've seen this done is doing code reviews of why this and why that instead of giving students a scaffold on how to make or do something.

1

u/Routine_Working_9754 1d ago

yes, ai is what helped me learn programming to this level, but I write code myself. partially YouTube tutorials and programming language documentation deserves credit too

1

u/StageSubstantial1626 2h ago

Yes and no I usually write the code my self then struggle a bit if I have no idea what went wrong I use AI to help with debugging