rixx on Nostr: I did not realise I had strong feelings on docstrings. I use them sparingly, and ...
I did not realise I had strong feelings on docstrings. I use them sparingly, and while they are a hack, at least they serve a good purpose.
I know people have opinions on the placement of line breaks and quotes, but I thought I was above these things. That this was Python programmers yearning for curly-brace level style wars.
I was mistaken.
I just encountered docstrings written in regular quotes rather than triple quotes and, no, apparently I DO have strong feelings on docstrings.
#python
Published at
2026-07-26 22:43:56 UTCEvent JSON
{
"id": "36d871cedc77873d3455eca07e5d109e0072ee6361943bb36d76a7a38f9ed9b0",
"pubkey": "0f0ce59a08967d93037a8cd08fc8a69863bf755a92cb84247a7f5143bc27fbfb",
"created_at": 1785105836,
"kind": 1,
"tags": [
[
"proxy",
"https://chaos.social/@rixx/116988696074966109",
"web"
],
[
"t",
"python"
],
[
"proxy",
"https://chaos.social/users/rixx/statuses/116988696074966109",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://chaos.social/users/rixx/statuses/116988696074966109",
"pink.momostr"
],
[
"-"
]
],
"content": "I did not realise I had strong feelings on docstrings. I use them sparingly, and while they are a hack, at least they serve a good purpose.\n\nI know people have opinions on the placement of line breaks and quotes, but I thought I was above these things. That this was Python programmers yearning for curly-brace level style wars.\n\nI was mistaken.\n\nI just encountered docstrings written in regular quotes rather than triple quotes and, no, apparently I DO have strong feelings on docstrings.\n\n#python",
"sig": "7169558e38193ade8f48c14695b9be06d1e0564b6f34cd6c2c60bd325eb420528a98a7496fe20d373dbbf3f37cf1fd71a00bf5fdf4f4424b38dcca1b1ad8eea1"
}