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
• …

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

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

@s_gruppetta Why don't you make use of this server's wonderful feature of being able to have one big post? It's a bit spammy this way and makes it less readable.

If you insist on seperating your posts up like that, I'd suggest to have your first post be public and subsequent ones be unlisted (since they're threaded the first post will suffice to be publicly shown).

@trinsec can a toot’s visibility be changed after it’s posted. I suspect that will only be possible once edit is rolled out.

And @freemo is it feasible as a feature request to have a setting that defaults to first toot in a thread as public and everything else (such as all replies) as unlisted?

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.