39:315 Reasons Why You Should Use Type Hints In Python
From the creator
š” Learn how to design great software in 7 steps: https://arjan.codes/designguide. Even though you don't see type hints all that often in Python code, and they'll probably never become obligatory, I still think you should use them. Here are 5 reasons why. š ArjanCodes Courses: https://www.arjancodes.com/courses. š¬ Join my Discord server: https://discord.arjan.codes. āØļø Keyboard Iām using: https://amzn.to/49YM97v. š Chapters: 0:00 Intro 1:27 What are type hints? 3:35 Criticisms of type hints 4:36 #1 Type hints help write shorter documentation 5:50 #2 Type hints improve the editing experience 8:25 #3 Type hints make coupling more explicit 9:08 #4 Type hints force being explicit about data structures 9:50 Sidestep: Type-driven development 11:31 #5 Type hints simplify your code 12:02 Type hints vs unit tests 12:43 Final thoughts #arjancodes #softwaredesign #python
Published 2022-07-01 Ā· Watch on YouTube ā
Availability and playback restrictions are controlled by the original channel.





