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 М.
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 22 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 20 МЛН
10 Nooby Mistakes Devs Often Make In Python
24:31
Indently
Рет қаралды 50 М.
Hash Tables - Data Structures and Algorithms
21:00
Caleb Curry
Рет қаралды 37 М.
Classes and Objects Introduction - Data Structures and Algorithms
12:36
Stacks and Queues (Python) - Data Structures and Algorithms
14:54
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,3 МЛН
Arrays vs Linked Lists - Data Structures and Algorithms
15:59
Caleb Curry
Рет қаралды 19 М.
When you have 32GB RAM in your PC
0:12
Deadrig Gaming
Рет қаралды 2,3 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 5 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,7 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,3 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 3,5 МЛН