•Try•
Catch

Logical Liberties

Inequality of United States Civil Liberties represented in JavaScript

Equality is an extremely simple concept (A.rights == B.rights) that has yet to be fully implemented in America. Opposition be it based on race, gender, religion or sexual orientation has been part of American history since it's founding.

I've always been greatly interested in logic, programming, and civil liberties. This post aims to creatively contrast the grave civil injustices America has committed in the past, and continues to commit in the present with how it should have been all along.

I'm certain I've left out several events and important considerations and would greatly appreciate your input. This document will grow over time, and aims to continually add complexity to the representation of our past and present civil liberty laws in an effort to frankly represent it's logic as ridiculously as it actually has been throughout the years. When you look at how it should have been, and how it wound up, it's pretty obvious that logic has been silenced in our lawmaking for far too long.

Wanna nerd out? Download the JavaScript source here.


How it should have been

// from Declaration of Independence on...
if(year >= 1776) {
	citizen.isSlave = false;
	citizen.canVote = citizen.canMarry = true;
}



How it was (and is)

// from Declaration of Independence on...
if (year >= 1776) { 		
	// marriage inequality (at the federal level)
	if (citizen.sexualOrientation != 'heterosexual') citizen.canMarry = false;
}

// between Declaration of Independence and Three-Fifths Compromise
if (year >= 1776 && year < 1787) { 
	// slavery of Africans
	if (citizen.ethnicity == 'African') citizen.isSlave = true;
	else citizen.isSlave = false;
	
	// women and African Americans can't vote 
	if (citizen.gender == 'female' || citizen.ethnicity == 'African') citizen.canVote = false;
	else citizen.canVote = true;
	
	// marriage inequality
	if (citizen.sexualOrientation != 'heterosexual') citizen.canMarry = false;
}

// between Three-Fifths Compromise and Emancipation Proclamation
if (year >= 1787 && year < 1863) { 
	// slavery of Africans
	if (citizen.ethnicity == 'African') citizen.isSlave = true;
	else citizen.isSlave = false;
	
	// women can't vote, African Americans have 3/5 voting power
	if (citizen.gender == 'female') citizen.canVote = false;
	else if (citizen.ethnicity != 'African') citizen.canVote = true; // non-African males can vote
	else {
		citizen.canVote = true;
		citizen.representationValue = 0.6; 
	}
	
	// marriage inequality
	if (citizen.sexualOrientation != 'heterosexual') citizen.canMarry = false;
}

// between Emancipation Proclamation and 15th Amendment
if (year >= 1863 && year < 1920) { 
	// slaves are free now
	
	// women still can't vote, not until 1920
	if (citizen.gender != 'female') citizen.canVote = true; // NOTE: while this shows prohibits the states and the federal government from using a citizen's race color or previous status as a slave as a voting qualification it does not express such as literacy tests and poll taxes 
	
	// still marriage inequality
	if (citizen.sexualOrientation != 'heterosexual') citizen.canMarry = false;
}

// between Declaration of Independence and 19th Amendment
if (year >= 1920) { 
	// slaves are free now
	
	// women can vote, all races can vote
	citizen.canVote = true;
	
	// still marriage inequality
	if (citizen.sexualOrientation != 'heterosexual') citizen.canMarry = false;
}

Comments (2)

  1. Robert W Sturtcman:
    Nov 06, 2012 at 02:36 AM

    This is super clever. If I understood the slightest thing about logic and scripting I would be fainting right now.

  2. JP DeVries:
    Nov 06, 2012 at 04:23 AM

    Thanks! I just fixed several errors. Mostly with the date ranges. How does Robby Sturtcman not have a gravatar setup?!


Add a Comment





Allowed tags: <b><i><br>Comment:


** Equality is Equality is Equality **

modmore