For those who've been following the Functions Series, today we'll take a short break and Day 10 will return tomorrow – There's still a related-thread later today, but not directly part of the series.

So far we've covered:
• terminology (boring but useful)
• …

• Choosing to use arguments as either positional or keyword
• Using optional arguments by assigning default values
• *args and **kwargs, or variable number of positional and keyword arguments
• Using positional-only arguments, or the "rogue" forward slash / in functions
• …

Show thread

• Using keyword-only arguments, or the "rogue" asterisk * in function signatures

Next up:
• type hinting
• general best-practices when defining and using functions

Show thread

Although the early parts of the series are not on here, you can see them on my Typefully page: typefully.com/s_gruppetta_ct

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.