Tag: Shakespeare
Shakespeare Converted To Programming Language
William Shakespeare’s Sonnet 18 (“Shall I compare thee to a summer’s day?”) converted into the programming language ActionScript:
var summer:Object = {};
var thee:Object = {};
summer.name = “Summer Day”;
thee.name = “Thee”;
summer.lovelyness = 9;
thee.lovelyness = 10;
summer.temperature = 98;
thee.temperature = 98.6;
summer.lease = new Date(2006, 7, 31).getTime() – new Date(2006, 5, 1).getTime();
thee.lease = new Date(2042, 6, 12).getTime() – new Date(1970, 8, 25).getTime();
summer.complexion = 0xFFCC33;
thee.complexion = 0xFFCCCC;
summer.fair = 10;
thee.fair = 10;
summer.getValue = function():Number {
return –this.fair;
};
thee.getValue = function():Number {
return this.fair;
};
summer.incrementTime = function():Number {
return –this.lease;
};
thee.incrementTime = function():Number {
return this.lease;
};
var man:Object = {};
man.hasEyes = true;
man.canBreathe = true;
man.lease = 10000;
man.liveLong = function():Void {
this.lease *= 10;
};
man.giveLife = function(o:Object):Void {
o.lease++;
trace(o.name + ” is given life”);
};
man.compare = function(o1:Object, o2:Object):Void {
if (this.canBreathe && this.hasEyes) {
this.liveLong();
var n1:Number = 0;
var n2:Number = 0;
var o1isBetter:Boolean;
for (var i in o1) {
if (typeof (o1[i]) == “function”) {
o1isBetter = o1[i]() > o2[i]() ? true : false;
} else {
o1isBetter = o1[i] > o2[i] ? true : false;
}
n1 += Number(o1isBetter);
n2 += Number(!o1isBetter);
}
this.giveLife(n1 > n2 ? o1 : o2);
}
};
man.compare(summer, thee);
Dr. Benjamin Carson Offers The Antidote to Obamacare
I heard Dr Carson´s common sense, achievable plan for universal medical care on Rush´s show yesterday. You could literally describe it on the back of an envelope. Tell me why the geniuses we elect to a life of luxury in Congress cannot come up with a similar plan? I think it would be overwhelmingly approved by the American people. Instead, we have Obamacare shoved down our throats.
I’m sorry. I have one more observation, one more observation to make about Dr. Benjamin Carson. What is also refreshing is the man communicates in plain English and with simple rationality. In 43 seconds! Remember, Shakespeare: “Brevity is the soul of wit.” Brevity is how you make an impression. The fewer number of words you need to make a point, the more powerful the point. Forty-three seconds, and we got the antidote to Obamacare. Plain English, simple, rational — and, in addition to that, he illustrated how to confront and deal with Obama.
Now, contrast that to what’s going on in Washington. The Republicans are out there giving long speeches about how they want to help people and how they’re misunderstood. “We’re gonna reach out to this group and that group and we’re gonna rebrand! We have to a better job of explaining what our policies are all about, and we need to explain how we really like people.” We have seminars about abandoning principles. We have long discussions and treatises and people writing long columns on suggestions from the Republicans on how they need to moderate here and modify there and reach out over here and do this, that, there and so forth.
And a guy comes along in 43 seconds and sets out a position based on our principles of individual responsibility and free markets that is a logical solution that makes total sense to everybody who hears it. Now, they might have some questions. “Well, what do you mean about this health savings account? Where does it get the money? How can I spend it?” But they’re easily explained. Those questions have easy answers that are also understandable and rational.