Lorewegian 📚 on Nostr: i use ++i instead of i++ in for() loops. why would you want to delay the return ...
i use ++i instead of i++ in for() loops.
why would you want to delay the return value? there's no point. ++i is the natural form of the increment operator. i++ is the special feature.
Published at
2023-04-29 22:36:12Event JSON
{
"id": "2fb69b1270944fa3a7d0e219c7784779f331938752bda14efb9a561bc83f4871",
"pubkey": "6c067ee3395bf49d21504349d95f5fff5edf41ec64aa8951334e889dbaf8e31f",
"created_at": 1682807772,
"kind": 1,
"tags": [
[
"mostr",
"https://berserker.town/users/lore/statuses/110284490177286093"
]
],
"content": "i use ++i instead of i++ in for() loops.\n\nwhy would you want to delay the return value? there's no point. ++i is the natural form of the increment operator. i++ is the special feature.",
"sig": "0dea54bb7fc193e762586039af14866c2596acd7e8314ff091e29983727763234c317007bfb40bd5c89283b004be7ee7dd9f98779a4b8516293a8352f656ca83"
}