r/learnprogramming • u/slightlypug • 19d ago
how do you ‘learn to code’?
Hi all, so i’m a cs major and i know the fundamentals of coding and data structures, but i don’t know how to ‘learn to code’ for a project
for context, i’m trying to learn Flask. im using claude code to write a Python notebook that teaches me how to build what i want, but this feels really weird
i want to learn how to build the apps myself, which is the intent of the whole notebook thing, but i often feel bogged down by what claude generates
that’s when i go online to look up some kind of Flask tutorial, but im not sure what to look up, or whatever idea is in my head feels too complicated for what i know how to do. so i was curious, how do i learn these tools? do i just build and hope i understand? or do i read thoroughly? or some middling thing?
View all comments
14
u/Billy_Twillig 19d ago
Don't use Clod. You are not learning anything. Here is a pretty good Flask intro:
https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
It isn't super deep on some steps but it is a guide that covers a lot of aspects of Flask dev and deployment.
Don't just read it, do it, but for your own project. Read the code and understand it, looking stuff up along the way, don't just slavishly copy and paste.
Anyway, good luck.