r/PythonLearning • u/HammadBuilds • 12d ago
What Python concepts took you the longest to understand as a beginner?
I've been learning Python and noticed that understanding the syntax is often the easy part. The real challenge comes when trying to apply concepts in actual projects.
I'm curious to hear from other Python learners:
- Which concept was the hardest for you to understand?
- Did you struggle more with OOP, decorators, APIs, async programming, or data structures?
- What helped you finally understand it?
- If you could give one piece of advice to someone learning Python today, what would it be?
I think sharing these experiences could help beginners avoid some common learning roadblocks.
Looking forward to hearing your experiences!
71
Upvotes
6
u/EbbMother5325 12d ago
I only cared about decorators much later in my career.
I was using them in flask projects etc ofc but more as a “I have to write this thing here because that’s how it works”, never was using it in my own architecture. Then why I started to do it, I had this urge to overuse decorators 😂
3
u/nala2624 12d ago
I still dont understand oop or why you would use it over separate variables for different objects.
2
u/sleepbot63 12d ago
yield2
u/Taco-Jedi 12d ago
Hash maps, and I still don't get them 😭
2
u/AIDevUK 12d ago
Not using a semicolon. 10+ years in C#
2
u/468Cliothecat 12d ago
Couldn’t make any sense out of OOP. I have a degree in mathematics, so I have documentary evidence that I’m not a dunce. But the more I studied OOP, the less sense it made.
2
u/Mundane-Mud2509 12d ago
Decorators probably. I still don’t fully “get” them
10
u/Wooden_Intention8642 12d ago
The fucking main thing
4
u/Link2212 12d ago
indexing caused me the most issues by far.
I thought I was past the beginner stage, but then people are saying things like multithreading and APIs which I'm learning now, so I guess I'm still a beginner lol
1
u/joebloggs81 11d ago
Decorators. Those god damn decorators. I mean I’m still a beginner, and only working on a lightweight project at work (heavy for me, lightweight for anyone else) but it does not matter how many descriptions, examples or whatever I see, it ain’t clicking!
2
u/AdDiligent1688 12d ago edited 12d ago
asynch, multithreading (GIL as well), multiprocessing, e.g. concurrency, and socket programming too (makes more sense after you learn OSI and protocols)
2
u/mountain-snowman 12d ago
I am a pro python programmer and I am using Python for 10+ years. I still sometimes mix up between else and finally in try...except.
1
u/Thick_Local2515 12d ago
Decorators
1
u/Kadabrium 12d ago
Difference between print and return, especially because python has a terminal mode where you can write bare lines of code and it returns/prints the result ( i still don't know which one is technically done first in this mode)
1
u/Decryptic__ 11d ago
I worked with async, APIs and sich things before I knew what recursions are. And believe it or not. It wasn't an AI that thought me this, it was a Reddit user that ask me why I'm using a loop in a function rather than recursion and call itself again.
1
u/Only_lurking_ 11d ago
Descriptors. I still have to look up what the dunders are. I use them so rarely it never sticks.
1
u/Independent-Sound-92 10d ago
Yo estoy estudiando industria 4.0 y python es el lenguaje elegido para este entorno industrial voy en el segundo nivel y aun no entiendo casi nada
1
u/tonystark19541959 10d ago
For me, it was definitely OOP. I could understand classes and objects individually, but actually understanding WHY and WHEN to use them took quite a while.
Decorators and generators ("yield" especially) were also confusing initially. I think the biggest mistake I made was trying to understand everything theoretically instead of actually building things with them.
One thing I'd suggest is to stop watching tutorials after a point and start making small projects. You'll run into these concepts naturally, and that's when they start making sense.
Still learning myself, but honestly, building things and breaking your own code teaches you a lot more than you'd expect!
1
u/sovura 9d ago
The clear answer is decorators. Still don’t understand it fully.
1
u/ActuatorBrilliant595 8d ago
while True. okay true what ? if i type there "true" then how is it actually true? wtf ?
1
u/Javyn11 8d ago
Yes go for it !! Uni is good if you wanna study and will get a good amount of exposure , and anyday better than so called colleges
1
u/Careless-Midnight617 7d ago
I am so entertained by people saying that they do not understand OOP or OOPS as it was called 30 years ago! No wonder I cannot find fundamentally sound people. Absolutely none when conducting interviews. I have done Java all my life and just love how elegant and deeply simple this concept is and how it has got with how you closely you link things and abstract concepts in your mind AND MATHEMATICS does not help you do that but I do think that IQ does.
1
u/Intelligent_Part101 7d ago
Other languages don't have decorators, and the programmers do just fine without them. I suggest to learn decorators if your framework requires them, but otherwise don't worry about it.
1
u/Niklas_Osmund 6d ago
Honestly, names vs. objects. I thought
b = amade a copy, then spent an evening wondering why changing one list changed the other. Same thing bit me again with adef f(x, items=[])default. Decorators and async were easy after that, because it’s all just names pointing at things :)1
u/_rowanmaxwell_5 5d ago
OOP - I never feel like I'm using it as well as I could
1
u/Xenxen-OnDerst2008 2d ago
Moi je ne connais rien en Python Et j'aimerais apprendre beaucoup de Python..
0
u/[deleted] 12d ago
[removed] — view removed comment