r/learnprogramming • u/Enter_Name977 • 51m ago
learning backend (Django): go slow and understand every line, or build 10 quick practice projects with AI?
Hi everyone,
im kind of in despair right now
I'm building a learning project: a marketplace where customers order offers from business users. (fiverr clone)
My problem is that it takes me a very long time to really understand code. Take this one line as an example:
Order.objects.filter(business_user__user__id=6)
I have to draw it out first: the order points to a profile, the profile points to a user, __ means "follow the relation", and behind that there's a SQL JOIN. And that's only one line. In the project, lots of pieces like this depend on each other (models, serializers, views, permissions, queries), and sometimes I feel overwhelmed.
I try to write the code myself on purpose and only use AI to explain things. But it takes forever for my brain to grasp it and I keep wondering:
- Should I stay slow, understand every line, and build a solid foundation?
- Or should I use AI to quickly build around 10 smaller practice projects, to see more patterns and build routine, even if I don't understand every line right away?
- Or is there a middle path you'd recommend?
i learned frontend (html, css, JS, angular) before that and it was so much easier to understand.
How did you handle this, especially if you also used AI while learning? What actually moved you forward, and what was a waste of time?
Thanks for any advice!
•
u/acuddlywookie 42m ago
I’m not sure what your level of experience is, but I’d hazard a guess that you’re relatively new to programming.
If you want to develop a deep understanding, just don’t use AI, or at least for a while. Use google, read docs and stack overflow. It’s slower, but you’ll learn so much more doing it this way vs using AI. It’s important to explore, make mistakes and experiment and AI will remove a great deal of this cycle.
A big, perhaps the biggest part, of programming is problem solving, and if you’re handing that over to something else then you’re not going to be learning, or at least learning at a significantly lower pace.
•
u/Impossible-Tune-1596 30m ago
Go to the quick start, go slow, build it out. Then make a few changes.
When you are ready to move on try building something small outside of it.
Keep going, I agree largely that No AI is good advice but be honest about where you are weak and that’s where you build no AI.
I use AI for tedious things like formatting, CSS or quick templates.
You can also make a project that will not give you the answer. That’s surprisingly helpful.
Read docs, I get slaughtered for this but read books on programming. It was the best thing ai ever did for programming and for learning an actual foreign language
•
u/aqua_regis 36m ago
"learning" - "quick with AI"
Pick one. You can't have both. This is either - or.
If you want to learn and become proficient and self sustaining, go slow, if you want to ship AI slop, do it, but don't expect to learn anything.