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": "5d20d9d335e1ee3c121a4d5651bd692ca8878d8488ced1be830b3cb258564885",
"pubkey": "da185369f0f73d59025856327528fb3ebda5f520e007fe515b23fab02a830366",
"created_at": 1717714318,
"kind": 1,
"tags": [
[
"t",
"Python"
],
[
"proxy",
"https://mas.to/users/yantor3d/statuses/112572125567743679",
"activitypub"
]
],
"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": "05dd1360bcd6908986a53d66f8dbb03ca7f41c6021a7167a360e8ada7ff42dc46fb65d2c6b8a2760273ba47ab4a8c2c23d212971e072e552176bb6ab6722c27c"
}