What is Object-Oriented Programming? (The basic concepts)

  Рет қаралды 11,912

Afternerd

Afternerd

4 жыл бұрын

🔥Full Course: www.afternerd.com/udemy/pytho... 🔥
In this video, I will cover the fundamental concepts of object-oriented programming (OOP).
For example, why is OOP so popular? What is really the difference between OOP and procedural programming?
In addition to that, I will also explain the basic concepts of OOP like inheritance, encapsulation, and polymorphism.
You need to make sure that you fully understand these concepts before you start learning how to apply these OOP concepts to Python.
Blog: www.afternerd.com/
Twitter: / afternerdtweets

Пікірлер: 42
@Fuego958
@Fuego958 Жыл бұрын
Your channel is better than a lot of subscription courses on Python. Great explanations.
@Marz-yt5ol
@Marz-yt5ol 2 жыл бұрын
mate you have no idea how this has helped me understand what I have been struggling with. Thank you so so so much and I wish you could pump out more tutorials with this idea of explaining the concept first without any code and later comes the coding. Also looooooove how you have explained it with different, examples real life examples and not just computer world examples.
@fred.c.johnston
@fred.c.johnston 2 жыл бұрын
I had to STOP watching this part way through... (then I SAVED it to my favourites AND LIKE...) then I WATCHED the remainder... SO WELL DONE, THANKS!
@tomgreene4329
@tomgreene4329 3 жыл бұрын
Extremely well explained. Keep making these videos you have a talent for it.
@Afternerd
@Afternerd 3 жыл бұрын
Thanks Tom!
@RaviRaj-je3rh
@RaviRaj-je3rh 3 жыл бұрын
Wonderful tech program... Keep uploading more vlogs bro😎
@fillingtheboxbyzach
@fillingtheboxbyzach 2 жыл бұрын
Thank you so much for this 15 part video series on python for beginners. I just want to know is there any other materials or videos that you might suggest to a newbie like me, to broaden my understasnding of python?
@echo31.ismail
@echo31.ismail 3 жыл бұрын
Very well explained, after tons of video understand yours easily. Thanks, afternerd, interested in your course
@Afternerd
@Afternerd 3 жыл бұрын
You are very welcome! I am glad you found the videos useful
@EdritKolotit
@EdritKolotit 3 жыл бұрын
One of the best explanations for OOP.
@Afternerd
@Afternerd 3 жыл бұрын
Thanks Artem!
@Pablo-tw1oe
@Pablo-tw1oe 3 жыл бұрын
Wow, really thank you for this amazing video. You explain very well what is OOP and how it works in a really simple way.
@Afternerd
@Afternerd 3 жыл бұрын
Thanks Pablo! Glad you found it useful.
@bane2256
@bane2256 3 жыл бұрын
Quality video, thanks. Subscribed
@SapphireNguyen
@SapphireNguyen 3 жыл бұрын
You've got such a talent to explain complicated things in the easiest possible way. Know this channel from your afternerd.com website. Hope there will be more people knowing your website 😍
@Afternerd
@Afternerd 3 жыл бұрын
Thanks a lot! Glad you find the information helpful:)
@faridparvez
@faridparvez Жыл бұрын
Great video, very clear. Please make a video on roadmap to learning python from scratch, specifically for stock analysis, chart analysis, getting trade signals using charts and statistical analysis of stocks. I mean create a roadmap on the course tailored cut for only stock analysis . Regards Farid
@Fb-uv4jj
@Fb-uv4jj 3 жыл бұрын
Your content is very high quality. It would be nice if more content about "advanced concepts in python", "deep / machine learning" came out.
@Afternerd
@Afternerd 3 жыл бұрын
I will make content about advanced topics after I am done with the beginner content.
@niravbhatia
@niravbhatia 3 жыл бұрын
thank you very much, helps me alot
@shemavalentin250
@shemavalentin250 3 жыл бұрын
liked the way you explained hard things in a simple way! Now OOP is understandable. Sir, can you please advance until we build a project?
@kirtik2594
@kirtik2594 3 жыл бұрын
I haven't found video or articles better explaination and understanding about OOPS .
@swatipatil3153
@swatipatil3153 3 жыл бұрын
Wonderful explanation
@Afternerd
@Afternerd 3 жыл бұрын
Thank you! Glad you liked it.
@effzi6560
@effzi6560 3 жыл бұрын
sir you've explained so well Thank you
@Afternerd
@Afternerd 3 жыл бұрын
Happy to help. Thanks, Shreyansh.
@ihebbenmansour8234
@ihebbenmansour8234 2 жыл бұрын
It will be perfect to do an example program explaining classes and objects.
@abcMSVdef6399
@abcMSVdef6399 3 жыл бұрын
finally after 2 years, I understood about OOPs
@halim_Ha
@halim_Ha 3 жыл бұрын
damn man you are a miracle you deserve milions and milions of subscribers
@Afternerd
@Afternerd 3 жыл бұрын
Thanks a lot man for your kind words!
@tamokhan12
@tamokhan12 2 жыл бұрын
Nice...
@hosseindehghan1306
@hosseindehghan1306 2 жыл бұрын
🙏Thanks Karim🙏
@hosseindehghan1306
@hosseindehghan1306 2 жыл бұрын
Was "Abstraction" mentioned in this video? I did not find it
@roshedulalamraju7936
@roshedulalamraju7936 3 жыл бұрын
And yes subscribed😊
@swapnalilad9084
@swapnalilad9084 3 жыл бұрын
Wonderfully explained. But I have one query using dictionary is great, however shouldn't the key which is first name be unique? There is chance of first name to repeat, isn't it?
@Afternerd
@Afternerd 3 жыл бұрын
Good point. You are right. I am "assuming" unique names.
@swapnalilad2530
@swapnalilad2530 3 жыл бұрын
Alright, thanks.
@thomascrownbuerger
@thomascrownbuerger 3 жыл бұрын
I am always appreciative of people taking the time to plan a lesson, record it, edit it, and put it out into the world (often for free), but I'm not as enthusiastic as everyone else about the explanation. I even went back and watched a majority of the first 23 minutes a second time before posting. After the first viewing at the 23 mark when you move on, I was surprised because I didn't think it was clear at all. On second viewing it seemed like the most important part, creating an object, isn't really explained or stressed in any way. Also I'm new enough that I'm just guessing as to what it is. My confusion is that under procedural we have a function, add_employee(data), that is calling 3 other functions. However, under OOP we have the same function, but it's calling an object, which contains what appear to be, more or less, the same 3 functions. So it seems like the difference is that instead of having 3 functions extracting and computing attributes from the source .txt file then bundled into our add_employee() function; we are extracting and computing from the source .txt file (using what I assume is the same code as the 3 functions in procedural), creating an "object" (which I view as a sort of new, hypothetical source file), and then reading from it with our add_employee() function. If I'm wrong, no biggie. It's all part of learning. If I'm right or essentially correct, then I think that the object itself should be elaborated on as it is essentially a new identity that becomes the source for the functions and, as I view it, takes place of the original source .txt file. Hopefully at best this is seen as constructive criticism and at worst my own misunderstanding as a level 0 noob revisiting python and programming in general. Thanks!
@Afternerd
@Afternerd 3 жыл бұрын
Hi Thomas! Thank you for taking the time to write an elaborate comment. I think the main confusion is that you are trying to understand this by looking at the code, which is exactly what I advised against at the beginning of the video (and that's why I am using Pseudo-code) :). The creation of "objects" in code is not relevant for this specific lesson, and it is intentionally ignored because the difference between OOP and Procedural programming is not really about how we write the code. The difference is essentially in how we think about decomposing and solving the problem. In procedural programming, there is no concept of objects, the whole program is thought of as a series of functions that take in some inputs and generate some outputs. In OOP, you think of your program as a collection of objects that have their own attributes and behaviors. This is the difference that I am actually stressing in this video. The mechanics of creating objects in Python is discussed later in the course (not in this video), but it is not relevant to what I am trying to teach in this particular video. Good luck in your learning journey :)
@markgittens1
@markgittens1 2 жыл бұрын
Thomas C . a little more gratitude and a little less moaning might help you!
@-aafeshtrend5623
@-aafeshtrend5623 2 жыл бұрын
ليه مش عربي بس ؟!!
Python: Why Do We Need Loops? (For Loops Explained)
22:32
Afternerd
Рет қаралды 3,5 М.
How to Learn Python? (From Zero to Hero)
22:15
Afternerd
Рет қаралды 135 М.
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 6 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 11 МЛН
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 3,9 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 61 МЛН
Object Oriented Programming - The Four Pillars of OOP
11:23
Keep On Coding
Рет қаралды 317 М.
Object Oriented Programming with Python - Full Course for Beginners
2:12:35
freeCodeCamp.org
Рет қаралды 1,7 МЛН
Python If Statements Explained (In Great Detail)
24:17
Afternerd
Рет қаралды 3,3 М.
Java Functional Programming | Full Course
2:22:15
Amigoscode
Рет қаралды 559 М.
Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023
1:29:16
Data Analysis with Python for Excel Users - Full Course
3:57:46
freeCodeCamp.org
Рет қаралды 2,1 МЛН
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,3 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 6 МЛН