Inheritance, Polymorphism, Encapsulation - Data Structures and Algorithms

  Рет қаралды 14,707

Caleb Curry

Caleb Curry

Күн бұрын

Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
🐍 Python Course - calcur.tech/python-courses
✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/newsletter
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/subscribe
👨🏻‍🎓 Courses - www.codebreakthrough.com
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com/shop/calebcurry
🅿 Patreon - calcur.tech/patreon-calebcurry
🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
Ⓟ Paypal - paypal.me/calcur
🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
📈 Buy Bitcoin - calcur.tech/crypto
Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto

Пікірлер: 19
@marcoflores1764
@marcoflores1764 4 жыл бұрын
That chalk drop though. Hahaha Caleb you’re hilarious. Thanks for the tutorial
@sancrosanct5070
@sancrosanct5070 4 жыл бұрын
Yes!!!!You made a video on something I can relate to java! Thanks a lot
@TravisGarnett
@TravisGarnett 4 жыл бұрын
Thank-you, Caleb!! And nice work on the #CurryCut!! 💈
@cheesegood733
@cheesegood733 4 жыл бұрын
Caleb, i wish you had more views, you're a really good teacher
@zarazada
@zarazada 3 жыл бұрын
Thank you, Caleb
@StorminNormin411
@StorminNormin411 2 жыл бұрын
very helpful, thanks dude.
@justinmcnab9895
@justinmcnab9895 3 жыл бұрын
We will send you the chalk. You just keep sending these amazing videos!
@chrishsmith5419
@chrishsmith5419 2 жыл бұрын
Nice work buddy
@sajaldwivedi1207
@sajaldwivedi1207 4 жыл бұрын
Hey Caleb, Are you going to cover every data structure (Linear and non-linear) in this series? Will you be using python or c++ for implementing them?
@Julio860JVL
@Julio860JVL 4 жыл бұрын
I am learning little by little. I need to finish the PHP tutorial. I have about 5 more to go. Caleb, if you ever create a Udemy tutorial, I will buy it. Edit: I know of a niche on missing tutorials in Udemy that can sell very good. If you are interested, send me a messsge.
@abdishakur2489
@abdishakur2489 4 жыл бұрын
Cool video
@markcain2116
@markcain2116 3 жыл бұрын
Why don't you include 'Abstraction' in your OOP definition? Thanks.
@machinimaaquinix3178
@machinimaaquinix3178 4 жыл бұрын
Level up! Get some chalk holders :D
@TonyTigerTonyTiger
@TonyTigerTonyTiger 4 жыл бұрын
13:20 You are suggesting having a public variable (field) in a class. That's considered bad design.
@codebreakthrough
@codebreakthrough 4 жыл бұрын
Why? I can start with a public variable, avoid polluting my code with pointless getters and setters, and later implement it as a property without changing the interface/api to work with the objects. If there needs to be processing or encapsulation from the get-go, then sure...use a property. Adding processing later would require changes to the code anyway so no reason to use a property to future proof the code (the calling code stays the same regardless of public variable or a property). Properties tend to be used all the time in C#. And avoided unless necessary in Python... I really don’t think it’s proper to claim all public fields as bad design and it would be better to understand pros and cons. Appreciate your thoughts!!
@TonyTigerTonyTiger
@TonyTigerTonyTiger 4 жыл бұрын
@@codebreakthrough 1) Debugging a. You have a public field and throughout the code base its value can be read or modified in 20 places. There is a bug. To debug code you have to put breakpoints in 20 places. b. You used a property. All modifications to the value are centralized and channeled through 1 place, so you need only 1 breakpoint. 2) Theory "For data hiding to work properly, all attributes should be declared as private. Thus, attributes are never part of the interface. Only the public methods are part of the class interface. Declaring an attribute as public breaks the concept of data hiding." (The Object-Oriented Thought Process: Fifth Edition. Matt Weisfeld. Pearson/Addson-Wesley. 2019. p20)
@TonyTigerTonyTiger
@TonyTigerTonyTiger 4 жыл бұрын
1:50 You draw the arrow in the wrong direction. The arrow should point from the derived class to the base class. You do it wrong again later, when you have another derived class.
@codebreakthrough
@codebreakthrough 4 жыл бұрын
It’s just an arrow, I wouldn’t read too much in to it. I don’t believe there’s an official direction lol. According to Wikipedia I am correct: en.m.wikipedia.org/wiki/Inheritance_(object-oriented_programming)
Inheritance (Python) - Data Structures and Algorithms
11:19
Caleb Curry
Рет қаралды 7 М.
Introduction to Linked Lists - Data Structures and Algorithms
22:00
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 114 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 30 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 23 МЛН
C++ Programming Tutorial 97 - Inheritance And Polymorphism
6:16
Caleb Curry
Рет қаралды 29 М.
Introduction to Stacks - Data Structures and Algorithms
14:53
Caleb Curry
Рет қаралды 20 М.
Arrays vs Linked Lists - Data Structures and Algorithms
15:59
Caleb Curry
Рет қаралды 19 М.
Object Oriented Programming - The Four Pillars of OOP
11:23
Keep On Coding
Рет қаралды 318 М.
Object-Oriented Programming is Bad
44:35
Brian Will
Рет қаралды 2,3 МЛН
Худший продукт Apple
0:53
Rozetked
Рет қаралды 173 М.
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 442 М.