Skip to content

Instantly share code, notes, and snippets.

@ddspringle
Last active August 29, 2015 14:24
Show Gist options
  • Save ddspringle/f5ebdfb160dca779b526 to your computer and use it in GitHub Desktop.
Save ddspringle/f5ebdfb160dca779b526 to your computer and use it in GitHub Desktop.
Defining 'Did God Do It?' in code
function didGodDoIt( object, person ) {
if( person.hasOwnProperty( religious ) ) {
return true;
}
if( object.hasOwnProperty( scientificExplanation ) ) {
return false;
} else if ( object.hasOwnProperty( religiousExplanation ) ) {
return seekAnswerThroughEvidenceAndReason();
} else if ( object.hasOwnProperty( noExplanation ) ) {
return seekAnswerThroughEvidenceAndReason();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment