David Beazley on Nostr: I wonder if my personal Python coding has devolved into a kind of "loose typing." I ...
I wonder if my personal Python coding has devolved into a kind of "loose typing." I generally use type-hints to improve readability. However, I don't really fret too much about the fine details nor am I concerned about tools. Sometimes I'll just use a string. Or maybe just write out "tuple" without being overly specific about it. Or, I'll just leave no hint if the name seems descriptive enough. I generally try to avoid any use of "import typing". Madness lies within.
Published at
2024-08-17 11:15:23Event JSON
{
"id": "300af66c2c49457b55c7ce309d1d64cbb0d95295882d532ecd621970a11020b8",
"pubkey": "54be8b44da6d3e62d80831e30a85ef15645e1fb05fcadcf16709f5bb2a350112",
"created_at": 1723893323,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/dabeaz/statuses/112977072816202182",
"activitypub"
]
],
"content": "I wonder if my personal Python coding has devolved into a kind of \"loose typing.\" I generally use type-hints to improve readability. However, I don't really fret too much about the fine details nor am I concerned about tools. Sometimes I'll just use a string. Or maybe just write out \"tuple\" without being overly specific about it. Or, I'll just leave no hint if the name seems descriptive enough. I generally try to avoid any use of \"import typing\". Madness lies within.",
"sig": "9b052d709ac09ea79249ef61e4c431c1176ee1fa621a200b43814cf085a60c41d6259713d403a2161997411af5ba06a603941e7712d1cdb777d67ad41efd9c98"
}