tubeshowcaseā—1,144,904 videosā™” My collection 0
← Learn to Code

Learn to Code13:54

5 Reasons Why You Should Use Type Hints In Python

ArjanCodes ↗

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.

Keep exploring Learn to Code