Skip to content

Instantly share code, notes, and snippets.

@SimonRichardson
Created May 23, 2013 14:39
Show Gist options
  • Select an option

  • Save SimonRichardson/5636551 to your computer and use it in GitHub Desktop.

Select an option

Save SimonRichardson/5636551 to your computer and use it in GitHub Desktop.
Open up the do keyword so it's more fluent. this will not compile - feature request!
// I think this should be valid syntax
do remove() if (once());
// which is similar to
do remove() while(once());
@SimonRichardson
Copy link
Copy Markdown
Author

This would be only good if the if was read before the do :)

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