07:31Things (Almost) No One Thinks About When Designing Functions in Python
From the creator
π‘ Learn how to design great software in 7 steps: https://arjan.codes/designguide. In this video, I'll show you how to design a great function header in Python. Iβll mention things you probably havenβt considered but that can make or break your code. π₯ GitHub Repository: https://git.arjan.codes/2024/func_design. π 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 0:20 Function Naming 5:17 Function Arguments 8:01 Function Default Arguments 13:17 Args and Kwargs arguments 15:56 Options object 21:05 Return Type 22:34 Making your function more generic 27:41 Final thoughts #arjancodes #softwaredesign #python
Published 2024-09-20 Β· Watch on YouTube β
Availability and playback restrictions are controlled by the original channel.





