Skip to content

Instantly share code, notes, and snippets.

@jpetitto
Last active October 29, 2015 15:20
Show Gist options
  • Save jpetitto/c687281f85135225ceff to your computer and use it in GitHub Desktop.
Save jpetitto/c687281f85135225ceff to your computer and use it in GitHub Desktop.
Hack Week Loop
for (int i = 0, remaining = 5; i < colorBucket.size() && remaining > 0; i++, remaining--) {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment