Python 3.12 Generic Types Explained

Pubblicato il: 17 novembre 2023
sul canale di: ArjanCodes
61,893
1.9k

Check out Hostinger ➡️ https://www.hostinger.com/arjancodes
✅ Hostinger code for 10% off: ARJANCODES

In this video, I’m going to explore how generic types in Python 3.12 work, and what the advantage is over just using the Any types.

GitHub repo: https://git.arjan.codes/2023/generic

👷 Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3-Factor Diagnosis Framework: https://www.arjancodes.com/diagnosis

💻 ArjanCodes Blog: https://www.arjancodes.com/blog

✍🏻 Take a quiz on this topic: https://www.learntail.com/quiz/jqonfv

Try Learntail for FREE ➡️ https://www.learntail.com/

🎓 Courses:
The Software Designer Mindset: https://www.arjancodes.com/mindset
The Software Architect Mindset: Pre-register now! https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level...
The 30-Day Design Challenge: https://www.arjancodes.com/30ddc

🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes.

👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

Social channels:
💬 Discord: https://discord.arjan.codes
🐦Twitter:   / arjancodes  
🌍LinkedIn:   / arjancodes  
🕵Facebook:   / arjancodes  
📱Instagram:   / arjancodes  
♪ Tiktok:   / arjancodes  

👀 Code reviewers:
- Yoriz
- Ryan Laursen
- Dale Hagglund

🎥 Video edited by Mark Bacskai:   / bacskaimark  

🔖 Chapters:
0:00 Intro
0:22 Generic Types
5:41 The Any Type
7:57 Old vs new generic type syntax
12:16 Upper bounds
16:02 Advantages of Using Generic Types over Any
17:58 Outro

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!


In questa pagina del sito puoi guardare il video online Python 3.12 Generic Types Explained della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ArjanCodes 17 novembre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 61,893 volte e gli è piaciuto 1.9 mille spettatori. Buona visione!