Advertisement
Guest User

Failedpassed (Internet meme)

a guest
Dec 16th, 2022
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | Writing | 0 0
  1. '''''Failedpassed''''' is a term which gained popularity over an [[internet meme]] on [[Reddit]].
  2.  
  3. It jokingly describes a situation in which a task or action was completed in an unsatisfactory way.
  4.  
  5. It gained popularity over a [[Reddit]] meme in which a [[computer bug|bogus]] [[computer program]] printed the phrase:
  6.  
  7. {{quote|You FAILEDPASSED the exam.}}
  8.  
  9. The [[operation (mathematics)|mathematical operators]] of the program was [[operator (computer programming)|designed]] in a way to print the word ''passed'' with a test score [[greater than or equal to]] 85%, and ''failed'' if [[less than or equal to]] 85%.
  10.  
  11. Because the test score has been exactly 85%, both conditions were fulfilled, thus both words printed.
  12.  
  13. The earliest discoverable Reddit post scored 230 votes (upvotes subtracted by downvotes) and dates back to March 21, 2019, on the "software gore" [[subreddit]].<ref>[https://www.reddit.com/r/softwaregore/comments/b3ljqd/son_how_was_yor_day_at_school_good_and_bad_too/ "Son, how was yor day at school? - Good. And bad too", /u/willianw in /r/SoftwareGore on March 21, 2019]</ref>. The following day, it was posted to the major subreddit /r/Funny, where it was upvoted over 20,000 times.<ref>[https://old.reddit.com/r/funny/comments/b44zoi/i_am_happysad/ "I am HAPPYSAD" - /user/Hyper00hubert in /r/Funny on March 22, 2019]</ref>
  14.  
  15. == Source code ==
  16. This is the source code of the return statement remade in JavaScript:
  17.  
  18. <syntaxhighlight lang=JavaScript>
  19. failedpassed_data = {}; // initialize data object
  20.  
  21. function failedpassed(score,required_score,score_unit) {
  22. // handle unspecified unit or add trailing space
  23. if (score_unit == undefined) score_unit=""; else score_unit=" "+score_unit;
  24. // initialize return string
  25. failedpassed_data.returnString = "";
  26. // add "FAILED" and/or "PASSED" to return message.
  27. if (score <= required_score) failedpassed_data.returnString += "FAILED";
  28. if (score >= required_score) failedpassed_data.returnString += "PASSED";
  29. return "Your Score "+score+score_unit+"\n\nYou "+failedpassed_data.returnString+" the Exam.\n\nRequired Score "+required_score+score_unit;
  30. }
  31. </syntaxhighlight>
  32.  
  33. Syntax: score, required score, unit of the score. Example: <code>failedpassed(85,85,"%")</code>.
  34.  
  35.  
  36. == References ==
  37. <references />
  38.  
  39.  
  40. [[:category:Internet memes]]
  41.  
Tags: Reddit memes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement