Greg Wilson on Nostr: Chapter 8 of "Software Design by Example in Python" looks at functions and closures. ...
Chapter 8 of "Software Design by Example in Python" looks at functions and closures. I didn't initially plan to write it—it's not really in keeping with the theme of the book—but the frustrated looks on learners' faces the first time they tried to write multi-parameter decorators convinced me I had to lay some groundwork.
https://third-bit.com/2024/04/08/functions-closures/ #sdxpy
Published at
2024-04-08 11:15:06Event JSON
{
"id": "6162023ded366c9eff5a1d7655a580128d7997cfcbdb6b182e0dea779cfe6dd2",
"pubkey": "471ec8585d6c2fd5f911c7a8444add9942c4b8e37365db2a1cb87c5e13c0df8f",
"created_at": 1712574906,
"kind": 1,
"tags": [
[
"t",
"sdxpy"
],
[
"proxy",
"https://mastodon.social/users/gvwilson/statuses/112235309097281524",
"activitypub"
]
],
"content": "Chapter 8 of \"Software Design by Example in Python\" looks at functions and closures. I didn't initially plan to write it—it's not really in keeping with the theme of the book—but the frustrated looks on learners' faces the first time they tried to write multi-parameter decorators convinced me I had to lay some groundwork. https://third-bit.com/2024/04/08/functions-closures/ #sdxpy",
"sig": "04b0f96c5633f94c785d5196edaef2f020cf51c4ca1acb07371410e35c27d3b0e7b87d6fed3ab97c3c7d559ccec3a69e8894912753472246c024e48421b9347a"
}