Skip to content

Instantly share code, notes, and snippets.

@GeeH

GeeH/change.md Secret

Created June 19, 2017 14:11
Show Gist options
  • Save GeeH/d06bddf8b1fff2c59ec79af8c51161e9 to your computer and use it in GitHub Desktop.
Save GeeH/d06bddf8b1fff2c59ec79af8c51161e9 to your computer and use it in GitHub Desktop.

This is arguably the cleanest option for retrying but is blanketed with the negative stigma of using a goto.

to

While this is arguably the cleanest option, it still has the terrible visual debt of having to define and manage the $maxTries variable.

@GeeH
Copy link
Author

GeeH commented Jun 19, 2017

Sorry!

While this is arguably the cleanest option, it still leaves the user having to create and manage the $maxTries variable, and is not the easiest code to quickly understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment