Classes and Objects (Python) - Data Structures and Algorithms

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

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

Пікірлер: 11
@jpkeys6000
@jpkeys6000 2 жыл бұрын
This is pure gold!
@danny12345
@danny12345 4 жыл бұрын
god lesson
@technick3913
@technick3913 4 жыл бұрын
I did not understand the creation of another class "CameraType" inside a preexisting class Camera
@abdelkarimbadaoui6586
@abdelkarimbadaoui6586 3 жыл бұрын
Yeah got the same problem right here but i don't think of it as a big deal he import somthing to help him in that class thought and i think that is what keep us away from understanding what he did
@daverussell4052
@daverussell4052 3 жыл бұрын
its basicly an enum inside a class you can print the value with camera_type.value
@priyanshtiwari8317
@priyanshtiwari8317 4 жыл бұрын
Sir you are great
@Agent1596
@Agent1596 4 жыл бұрын
The best
@saubhagyatandon4787
@saubhagyatandon4787 4 жыл бұрын
Can u pls explain me what was the purpose of enum and what r enums
@walterstevens8676
@walterstevens8676 2 жыл бұрын
I like your other videos but I think I'm particularly slow to pick up the class/object thing. So this video lost me pretty quickly.
@codymccarty9327
@codymccarty9327 2 жыл бұрын
If it helps: objects have key: value pairs i.e. codyStats = {name: Cody, height: 60, eyes: blue}. Name is a key, and cody is the value. Classes are an abstraction of objects, or a blueprint for creating objects. The reasons this is done is for maintainability of large systems. We don't want Bill leaving off his eye color and adding in his favorite basketball team when billStats is created, so we use Classes. Classes make all the objects have the same keys. Everytime a new personStats is made we want them to have the same keys, otherwise we can't predict how each person will behave. That's the basics. Then we can add functions or methods to the class that we want all personStats to have. Latter on there will also be interfaces, mixins, etc that build on and address short comings of this system. It's completely normal not to get this concept the first time around. No one does. This sounds counter intuitive, but keep writing code that doesn't make 100% sense. One day, you'll have seen code like this a 100 times and when you watch a video explaining the method to the maddess it will all click.
@kareemabdallah1340
@kareemabdallah1340 2 жыл бұрын
everything was good until the self.position.log()
Inheritance (Python) - Data Structures and Algorithms
11:19
Caleb Curry
Рет қаралды 7 М.
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 20 МЛН
Hash Tables - Data Structures and Algorithms
21:00
Caleb Curry
Рет қаралды 37 М.
Classes and Objects Introduction - Data Structures and Algorithms
12:36
Linked List - Data Structures & Algorithms Tutorials in Python #4
28:16
Introduction to Linked Lists - Data Structures and Algorithms
22:00
#53 Python Tutorial for Beginners | Types of Methods
11:38
Telusko
Рет қаралды 421 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,8 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 217 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 3,9 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
PART 52 || DIY Wireless Switch forElectronic Lights - Easy Guide!
1:01
HUBAB__OFFICIAL
Рет қаралды 33 МЛН