Skip to content

Instantly share code, notes, and snippets.

@dhl
Created October 24, 2018 03:11

Revisions

  1. dhl created this gist Oct 24, 2018.
    7 changes: 7 additions & 0 deletions programming_naming_conventions.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # 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.