Can anyone help me in understanding OOP in Python language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 21

Can anyone help me in understanding OOP in Python language?

16th Jan 2019, 4:54 PM
Chandini
Chandini - avatar
13 Answers
16th Jan 2019, 5:15 PM
Uni
Uni - avatar
+ 21
Uni Thankyou for your answer Cleared my doubts😊👍
17th Jan 2019, 3:51 AM
Chandini
Chandini - avatar
+ 13
Complete the python course step by step in sololearn you will understand it
16th Jan 2019, 10:43 PM
AKS
AKS - avatar
+ 9
Chandini you're welcome I'm glad I could help 😆😆
17th Jan 2019, 8:02 AM
Uni
Uni - avatar
+ 6
Chandini I will recommend u to watch cs dojo videos on YouTube regarding OOP. Those videos are really great.
20th Jan 2019, 3:45 AM
Arushi Singhania
Arushi Singhania - avatar
+ 3
Marek Wesołowski I'd recommend the following: 1. Sift through open access GitHub repositories where people share code. You'll find examples of how OOP principles are being implemented. Not everything there is a piece of art but you'll find inspirations. 2. Seek for language specific support group meetings in your area and talk to people - usually there they're more than willing to share their experience. 3. Go to the nearest university IT department, talk to students and lecturers there and ask for guidance. 4. Read, read, read OOP books and try to draw conclusions - this is the hardest part. 5. Post your question at Stack Overflow. What you're asking for is very common so you should get links. If you like them don't forget to post them here 😀 Hope this helps.
26th Jan 2019, 9:13 AM
Skipper
Skipper - avatar
+ 2
Try to deeply understand the OOP paradigm first. At first sight basic principles seem simple but this is misleading. When you look at their consequences then only the paradigm's complexity & potential start to be visible. The OOP paradigm aiming at simplifying programming and managing complexity turns the natural program flow and logic upsidedown and is difficult to internalise. Python (as any other programming language) is merely a tool, so better use a metalanguage. Recruiters say that a mere 15% if job candidates seem to understand OOP while all of them claim to understand it. Don't get caught by the urgency and need for keyboard banging. Don't be a trial-error addict. Be like a mathematician. Paper and pen prevail. Brain and concepts always always come first.
21st Jan 2019, 5:43 PM
Skipper
Skipper - avatar
+ 2
There are many such books available. It's just a matter of sitting down and looking at the market, authors, number of editions, reviews, etc. I don't have any recommendations since I believe it's a wrong approach. At first one should deeply understand the OOP paradigm explained using just a simplified metalanguage/pseudo code for illustration. Only after it makes sense to learn a selected programming language as just the paradigm implementation by picking a good programming manual encompassing OOP elements. It's easier to learn things one by one the two at the same time. In my view the hard part is the first one and looking for just books as the single source of knowledge seems insufficient.
10th Feb 2019, 9:44 AM
Skipper
Skipper - avatar
+ 1
Python is a multi-paradigm programming language. Meaning, it supports different programming approach. One of the popular approach to solve a programming problem is by creating objects. This is known as Object-Oriented Programming (OOP).
20th Jan 2019, 11:29 AM
Dev Geekgurus
Dev Geekgurus - avatar
+ 1
Nice question... With Sololearn, related books either softcopy or hardcopy and YouTube videos(Cj Dojo, Bucky tutorials etc) you must have a good understanding of OOP in Python... Happy Learning!
20th Jan 2019, 2:13 PM
Offor Francis Obumneme
Offor Francis Obumneme - avatar
+ 1
Understanding OOP implementation in Python seems a half way for OOP dev, I'm struggling with OOP desing, namely how to redesign my spaghetti code main flow... every Python OOP tutorial I saw uses simple classes examples and gives no hints for desing principles, incl further object interactions (interfaces) what is a key to me to achieve OOP eqivalent of my current data flow... can you advise any tutorials or other sources in this area? Maybe my case is specific and not suits OOP approach well... shortly, this is a mass database create/update transaction performed on financial data (accounting balances) based on user-friendly definition, one can say it is next level of "SQLAlchemy like" abstraction for accountants and controling experts not knowing WTF programming and databases are ;-)
26th Jan 2019, 7:56 AM
Marek Wesołowski
Marek Wesołowski - avatar
+ 1
Thanks for reply Skipper. Guess I'll start from your last, but I need to give more details on my code, which is early python journey mistake, which doesn't want to die... users are coming with new requirements and further maintenance is more and more painfull. Feel like I just need someone to push me in the right direction...
26th Jan 2019, 9:47 AM
Marek Wesołowski
Marek Wesołowski - avatar
+ 1
Skipper - can you advise any book covering OO design and programming combined? All I saw focus on UML or how to create simple class examples... meaning no full-path approach.
5th Feb 2019, 5:29 AM
Marek Wesołowski
Marek Wesołowski - avatar