Ryan on Nostr: Just had an "interactive" code review. The team spent at least five minutes arguing ...
Just had an "interactive" code review.
The team spent at least five minutes arguing over whether I should have done this:
if (cond):
return ...
else:
return False
or this
if (cond):
return ...
return False
#python
Published at
2024-06-06 22:51:58Event JSON
{
"id": "41ed2df3a60ea9260e290b44e3dff4d4348c8e726cba46612c7d9920250ac03c",
"pubkey": "c2071bc38e106eb9fafc3d0a6919b1f17df4701c7b7e0e91a1ed8f8dfb67ce83",
"created_at": 1717714318,
"kind": 1,
"tags": [
[
"proxy",
"https://mas.to/@yantor3d/112572125567743679",
"web"
],
[
"t",
"Python"
],
[
"proxy",
"https://mas.to/users/yantor3d/statuses/112572125567743679",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mas.to/users/yantor3d/statuses/112572125567743679",
"pink.momostr"
]
],
"content": "Just had an \"interactive\" code review.\n\nThe team spent at least five minutes arguing over whether I should have done this:\n\nif (cond):\n return ...\nelse:\n return False\n\nor this\n\nif (cond):\n return ...\nreturn False\n\n#python",
"sig": "c683386499f2ef4d68c1f1c892ad526bd43e38c8f62758b570ffd006e9139729d03cbcb7f6125a2fe07b828a770df406c507d146211c9c659d54acff006ed7af"
}