r/learnpython • • Mar 01 '21

Python is kicking my butt

I’ve been learning python since early December now.. I seemed to become comfortable with the syntax and was gaining confidence quickly!

Then I moved on to Django and was quickly sent a reality check as the difficulty level increased really fast... I went back to python and started learning classes... this also is extremely hard to grasp..

While learning classes I realized I didn’t know for loops.. dictionaries.. len/range() nearly as much as I thought I did... the confidence I so quickly built is now gone.

I know the journey to web dev isn’t going to be easy at all.. I’m not giving up.. just wanted to get this off my chest.. I’m going back to the basics this week. Wish me luck. Have a nice week!

486 Upvotes

118 comments sorted by

View all comments

1

u/extraymond Mar 02 '21

There are lots of oop pronciples used inside django, so in other words, oops is a really hard topic to grasp.

If you want to continue on a gentler journey, I recommend you to try flask, which is almost the bare minimum for python webdev. From there you can try to see extensions bulit on top of flask that have some slice of oop implemented.

And after a little while you can go back to django knowling more of what's going on.

ToI quote what one said about django vs flask: "Learning flask is like building webapps using python from scratch, and learning django is like learning django itself."

The batteries included approach of django will become clear only if you can recognize the oop principle in use.

Happy hacking.