Things (Almost) No One Thinks About When Designing Functions in Python
💡 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

▶︎
Fail Fast: The Most Misunderstood Software Principle

▶︎
Stop Overusing Classes in Python

▶︎
Why Your Code Isn’t Pythonic (And How to Fix It)

▶︎
7 Python Mistakes That Instantly Expose Junior Developers

▶︎
10 Python Anti-Patterns That Are Breaking Your Code

▶︎
Trump’s Losing Streak Seeps Into Iran & Netanyahu Gets a Taste of Mean Girl Trump | The Daily Show

▶︎
Learning Python Feels Easy. Until It Isn’t.

▶︎
The Strange Math That Predicts (Almost) Anything

▶︎
Protocols vs ABCs in Python - When to Use Which One?

▶︎
Stop Writing Classes Like This in Python

▶︎
Protocol Or ABC In Python - When to Use Which One?

▶︎
Python 3.14: The NEW T-strings are Awesome

▶︎
Clean Architectures in Python - presented by Leonardo Giordani

▶︎
"We Ran Out Of Columns" - The Worst Codebase Ever

▶︎
Python Decorators: The Complete Guide

▶︎
Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

▶︎
10 Python Tips That Separate Juniors From Seniors

▶︎
Microsoft's Greed is Finally Backfiring

▶︎
Why You Should Think Twice Before Using Returns in Python

▶︎
