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 07, 2010
The Nussy, or the βnose pussyβ, if you will, was discovered during the corona virus pandemic of 2020. People that had to be tested for Covid-19 had to have their nose swabbed right where the brain connects, which often led to people rolling back their eyes and gagging.
A nose-swab-fetish developed from this, because we, as humans, ruin everything.
A nose-swab-fetish developed from this, because we, as humans, ruin everything.
by Pogoextreme December 25, 2020
Jan 17 trending
- 1. Watermelon Sugar
- 2. Ghetto Spread
- 3. Girls who eat carrots
- 4. sorority squat
- 5. Durk
- 6. Momala
- 7. knocking
- 8. Dog shot
- 9. sputnik
- 10. guvy
- 11. knockin'
- 12. nuke the fridge
- 13. obnoxion
- 14. Eee-o eleven
- 15. edward 40 hands
- 16. heels up
- 17. columbus
- 18. ain't got
- 19. UrbDic
- 20. yak shaving
- 21. Rush B Cyka Blyat
- 22. Pimp Nails
- 23. Backpedaling
- 24. Anol
- 25. got that
- 26. by the way
- 27. Wetter than an otter's pocket
- 28. soy face
- 29. TSIF
- 30. georgia rose