Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Naming Conventions in Code

Verify

Tests if some subject (object or data) passes the correctness definition for some type. Returns true if the test passes, and false otherwise.

Validate

Tests if some subject (object or data) passes the correctness definition for some type. Throws an exception if the subject did not pass the test. The test is not required to return any meainingful value if the test pases.

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