David Beazley on Nostr: People seem to be increasingly annoyed by my use of stringified constants instead of ...
People seem to be increasingly annoyed by my use of stringified constants instead of proper Python enums. In response, I think I'm just going to switch to using inheritance.
Published at
2023-08-26 15:16:12Event JSON
{
"id": "3a2b1790c5ddca8e388ee3c50c737f88d36b24c4674b1db6ba1fa92264a32809",
"pubkey": "54be8b44da6d3e62d80831e30a85ef15645e1fb05fcadcf16709f5bb2a350112",
"created_at": 1693062972,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/dabeaz/statuses/110956574947557155",
"activitypub"
]
],
"content": "People seem to be increasingly annoyed by my use of stringified constants instead of proper Python enums. In response, I think I'm just going to switch to using inheritance.",
"sig": "211356dfd2f52541a19711d8d2982c61acbe60a8e6c6090d3e859623afc308ed8e7702a217f7160ad4de36d97c14b31c7b1e533cf2a53d48726c7a7dfbaaf4fc"
}