Trey Hunner 🐍 on Nostr: What's in a name? That which we call a duck By any other name would quack the same; ...
What's in a name? That which we call a duck
By any other name would quack the same;
So a sequence would, were it not a sequence call'd,
Retain that dear iterability which it bears
Without that title. Sequence, doff thy name,
And for that name which is no part of thee
give thy iterator to me.
#Python #DuckTyping
Published at
2024-11-28 01:46:00 UTCEvent JSON
{
"id": "5b354891e9845fc8e3c1f10b7172603a46de65ba902f3d8be2acc8e5b11f8708",
"pubkey": "7e9159fbfd5526415c8d2de2e4c7654e3660883f9ccae720a70fa3c1f3cf1f45",
"created_at": 1732758360,
"kind": 1,
"tags": [
[
"t",
"ducktyping"
],
[
"proxy",
"https://mastodon.social/@treyhunner/113558051910555848",
"web"
],
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/users/treyhunner/statuses/113558051910555848",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/treyhunner/statuses/113558051910555848",
"pink.momostr"
],
[
"-"
]
],
"content": "What's in a name? That which we call a duck\nBy any other name would quack the same;\nSo a sequence would, were it not a sequence call'd,\nRetain that dear iterability which it bears\nWithout that title. Sequence, doff thy name,\nAnd for that name which is no part of thee\ngive thy iterator to me.\n\n#Python #DuckTyping",
"sig": "921191a8b816910e2fb70c77eefead5049e01951b440edd31c19dc275dac36c9d798e92f137c1e620ad17dcb1ef6d8f82f4a9f6979aa17c73136f9c97cb89849"
}