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
💡 Get my FREE 7-step guide to help you consistently design great software: https://arjancodes.com/designguide.
📨 The Friday Loop by ArjanCodes Newsletter: https://thefridayloop.com
💻 ArjanCodes Blog: https://www.arjancodes.com/blog
✍🏻 Take a quiz on this topic: https://www.learntail.com/quiz/awnpbx
🎓 Courses:
The Software Designer Mindset: https://www.arjancodes.com/courses/tsdm
The Software Architect Mindset: https://www.arjancodes.com/courses/tsam
Next Level Python: Become a Python Expert: https://www.arjancodes.com/courses/nlp
The 30-Day Design Challenge: https://www.arjancodes.com/courses/30ddc
👍 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
🐦 X: https://x.com/arjancodes
🌍 LinkedIn: / arjancodes
🕵 Facebook: / arjancodes
📱 Instagram: / arjancodes
♪ Tiktok: / arjancodes
🎥 Video edited by Mark Bacskai: / bacskaimark
🛒 GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes
🔖 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
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!