The easiest way to skyrocket your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Python 3.12 Generic Types Explained

Follow
ArjanCodes

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 3Factor 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'>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: Preregister now! https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/nextlevel...
The 30Day 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!

posted by shiny399046