19
My friend in college told me to start with Python because it was 'easy', but after 6 months of just writing print statements, I felt like I hadn't learned how to actually build anything.
Switching to a project-based approach with a simple Flask web app last month finally made the concepts of functions and data flow click for me, so what's a good first real project for someone who knows the basics?
3 comments
Log in to join the discussion
Log In3 Comments
the_nina1mo ago
Oh man, this is so real. It's like being told to learn carpentry by just sanding a single block of wood forever. The project thing is key. I mean, maybe it's just me, but I see this everywhere now, like people trying to get fit by just reading about exercises instead of actually going for a run. A simple to-do list app was my real first win, it forces you to deal with data that actually changes.
0
pat_coleman1mo ago
Totally get the to-do list app win. That "data that actually changes" part is exactly it. You're not just reading about some fake database, you're making something that adds and removes your own real tasks. It forces you to solve real problems, like what happens when you check something off. That shift from theory to a thing you actually use is everything. What was the first bug you ran into with yours?
4
grace50821d ago
My first bug was actually hilarious in hindsight. I had the "add task" button inside the form, but I forgot to stop the page from refreshing every time I hit submit. So I'd type "buy groceries", hit enter, and poof, the whole page reloaded and my task was gone. Took me like 30 minutes to realize I just needed to add event.preventDefault() in my JavaScript handler. That one little fix made everything click for me though. It's wild how something so simple can teach you about how forms actually work in the browser.
3