Skip to content

Instantly share code, notes, and snippets.

@skovalyov
Created June 5, 2012 07:49
Show Gist options
  • Save skovalyov/2873391 to your computer and use it in GitHub Desktop.
Save skovalyov/2873391 to your computer and use it in GitHub Desktop.
Car speed check
if (car.speed() > 2 * SPEED_LIMIT)
generateAlert("Watch out for cops!");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment