Originally published at recca0120.github.io
The first instinct for retry logic is usually while (true). It works, but the try/catch ends up nested inside the loop, adding an extra indent level and burying the intent slightly.
PHP has goto, and most people skip right past it. But for retry logic specifically, it's one level flatter and the intent...
🛡️ VERIFIED CYBER INTELLIGENCE ID: #3424744