From the course: Beyond Vibe Coding with Google Gemini: Become a Deliberate Developer
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Learning programming concepts through code examples - Gemini Tutorial
From the course: Beyond Vibe Coding with Google Gemini: Become a Deliberate Developer
Learning programming concepts through code examples
- [Instructor] We've been using Gemini as a Socratic partner to understand question and explore specific pieces of code. We've learned to ask why a better code. But now let's take the next logical step. We'll learn how to use a single existing piece of code as a launchpad to understand the entire programming concept behind it. And this is how you bridge the gap between seeing code and truly understanding software architecture. Take a look at this sample Python code, and you see lots of stuff in here like the async and await keywords here and here, and a vibe coder who's just working through this without deeply understanding might just copy paste this thinking it's for network stuff, but a deliberate developer asks, what's the fundamental principle at play here? Am I doing this the right way? So instead of just asking Gemini to explain the code, let's ask it to teach us the entire concept. And we'll use a very broad prompt. So here, I'll just paste the code in to a prompt in Gemini…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.