by sgrey November 22, 2011
Get the Orientationism mug.the stimulation or manipulation of one’s own ego by way of using object-oriented code in places where it has no advantage instead resulting in unnecessary complication and bloat.
Objective: Sum two numbers and print the result in the format “The answer is: X” where X is the sum of the two numbers:
Object-oriented masturbation solution:
function MathLib(){
this.answer = null;
}
MathLib.prototype.sum = function (x,y){
this.answer = x + y;
}
MathLib.prototype.getAnswer = function(){
return this.answer;
}
function Printer(){
this.preText = ”;
}
Printer.prototype.setPreText = function(str){
this.preText = str;
}
Printer.prototype.out = function (str){
document.write(this.preText + str);
}
// To run
var math = new MathLib();
var print = new Printer();
math.sum(1,1);
print.setPreText(‘The answer is: ‘);
print.out(math.answer);
Object-oriented masturbation solution:
function MathLib(){
this.answer = null;
}
MathLib.prototype.sum = function (x,y){
this.answer = x + y;
}
MathLib.prototype.getAnswer = function(){
return this.answer;
}
function Printer(){
this.preText = ”;
}
Printer.prototype.setPreText = function(str){
this.preText = str;
}
Printer.prototype.out = function (str){
document.write(this.preText + str);
}
// To run
var math = new MathLib();
var print = new Printer();
math.sum(1,1);
print.setPreText(‘The answer is: ‘);
print.out(math.answer);
by a304681 March 7, 2010
Get the object-oriented masturbation mug.Related Words
Ordien
• oriental
• orien
• orient express
• Orient
• orientalism
• ordinarysunkins
• Oriental Express
• orientation
• oriented
The "Oriental Hang Back" to a faux exit from a party or other social event in which the Oriental Hang Backer initially agrees to leave with their friends but subsequently decides to stay without informing their friends. Excuses such as "I'm just going to find the bathroom quickly - I'll meet you guys outside" are often used as an excuse to return to the bar, dance floor or a romantic acquaintance and continue doing what they were doing before they agreed to leave in the first place. Oriental Hang Backing can often be blamed on extreme intoxication, horniness, or FOMO. The term is an antonym to the Irish Exit.
Friend: "Hey man, what happened to you last night? We waited outside for like 20 minutes while you were in the bathroom but the girls got cold so we had to take them home..."
Hang Backer: "Sorry dude. I pulled an oriental hang back and kept trying to make out with some blonde I had just met at the bar..."
Friend: "thanks for the text you fucker... please tell me you were at least successful"
Hang Backer: "Nah, apparently she was a waitress there so her manager kicked me out. I was hammered."
Hang Backer: "Sorry dude. I pulled an oriental hang back and kept trying to make out with some blonde I had just met at the bar..."
Friend: "thanks for the text you fucker... please tell me you were at least successful"
Hang Backer: "Nah, apparently she was a waitress there so her manager kicked me out. I was hammered."
by Stevie Darkside November 21, 2013
Get the oriental hang back mug.by sweaterdouche May 24, 2009
Get the textual orientation mug.by K90 July 14, 2007
Get the orienteering mug.by Baz Zi April 14, 2017
Get the Ordinary Peanut mug.oriented strand board also known as flake board is an engineered wood product similar to particle board except using wood strands oriented in different directions with resin to form a solid sheet much stronger than particle board or plywood used in construction furniture making and many more uses
by littlejimmie March 2, 2019
Get the oriented strand board mug.