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.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.A coined term of "ore"("my-" "I-" "me-" in Japanese) and English word "original"
ore+original= "oreginal"
A Japanese phenomenon of claiming a physical or social product, idea, culture and others as being originated from any part of Japanese islands or its people.
ore+original= "oreginal"
A Japanese phenomenon of claiming a physical or social product, idea, culture and others as being originated from any part of Japanese islands or its people.
Noodle is oreginal(desu)
Dumpling is oreginal(desu)
Curry is oreginal(desu)
Green tea is oreginal(desu)
Everything is oreginal(desu)
Dumpling is oreginal(desu)
Curry is oreginal(desu)
Green tea is oreginal(desu)
Everything is oreginal(desu)
by desudesuka July 7, 2008
Get the oreginal mug.An incredibly handsome and talented individual who might be revered by some as a demigod by some. Orens are usually regarded as members of a humanoid super-species that transcends the bounds of space, time, and conventional measurements of attractiveness.
Wow, you have the strength of ten men, the grace of a majestic eagle, and the voice of an choir of angels; you're such an Oren!
I wish I was an Oren.
I wish I was an Oren.
by UDTruthTellr September 8, 2013
Get the Oren mug.she's a very divine, elegant, enthralling, enticing, excellent, exquisite, fair, fascinating, fetching lady , also very faithful to her partner always quick to give and never care to receive .Very loving person
i want me a orina
by Dictionary 1 January 28, 2020
Get the orina mug.by sweaterdouche May 24, 2009
Get the textual orientation mug.by K90 July 14, 2007
Get the orienteering mug.