Editing 1790: Sad

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
The comic is about [[Cueball]] confronting [[Ponytail]] over her recent behavior and poor emotional state over the past few months. While Ponytail doesn't give any details on what's causing it, it can be inferred that she is referring to the {{w|United States presidential election, 2016|recent election of Donald Trump as President of the United States}}, which happened about 2 months prior to the publication of this comic. This is a common reaction in the United States whenever a new president is elected, as the voters who did not vote for the new/upcoming President will be feeling unpleasant emotions that their chosen candidate did not win, and will want to express these emotions to the wider world. With the advent of the internet, and more recently social media, the expressions of these emotions have grown more common and often more hyperbolic, regardless of the quality of the candidate.
+
The comic is about [[Cueball]] confronting [[Ponytail]] over her recent behavior and poor emotional state over the past few months. While Ponytail doesn't give any details on what's causing it, it can be inferred that she is referring to the {{w|United States presidential election, 2016|recent election of Donald Trump as President of the United States}}, which happened 2 months prior to the publication of this comic.
  
 
Ponytail has retreated to video games for solace to the point that her real life projects are suffering.  
 
Ponytail has retreated to video games for solace to the point that her real life projects are suffering.  
''{{w|Stardew Valley}}'' is a video game in which a player creates and manages a virtual farm. And when Cueball mentions that her projects have stagnated, she retorts that her farm in the game is doing great. A comic with the name of that game was released only two weeks later, [[1797: Stardew Valley]], indicating that it is indeed Randall who has played this game excessively.
+
''{{w|Stardew Valley}}'' is a video game in which a player creates and manages a virtual farm. And when Cueball mentions that her projects have stagnated, she retorts that her farm in the game is doing great. A comic with the name of that game was releases only two weeks later, [[1797: Stardew Valley]], indicating that it is indeed Randall who has played this game excessively.
  
 
Cueball's statement about not being able to hide from everything is a common one to give to insecure people or to those trying to run away from their problems. Ponytail's reply is in the form of a {{w|PolitiFact.com|PolitiFact}} reply, claiming (possibly quite truly) that such assertions are ''mostly false'', one of the six options, but it is far from being the worst, thus acknowledging that you can't hide from everything, just mostly. Politifact.com was also the subject of an earlier comic, [[1712: Politifact]].
 
Cueball's statement about not being able to hide from everything is a common one to give to insecure people or to those trying to run away from their problems. Ponytail's reply is in the form of a {{w|PolitiFact.com|PolitiFact}} reply, claiming (possibly quite truly) that such assertions are ''mostly false'', one of the six options, but it is far from being the worst, thus acknowledging that you can't hide from everything, just mostly. Politifact.com was also the subject of an earlier comic, [[1712: Politifact]].
  
In computer programming, ''{{w|Comment (computer programming)|comments}}'' are pieces of non-functional, descriptive text that programmers include in their code. Typically, they are used as a form of documentation, to make the code easier for other developers to understand. This is why Cueball is glad that Ponytail is at least writing more comments; documentation is something that's often neglected by developers, despite its usefulness. Unfortunately, the comments that Ponytail is putting in her code are not actually about the code at all; she is, presumably, commenting more generally on whatever is troubling her as a way of venting her issues.
+
In computer programming, ''{{w|Comment (computer programming)|comments}}'' are non-functional content that a programmer adds to their code to make a note for themselves or others, typically to explain a complicated piece of logic or document external dependencies of a piece of code. Instead, Ponytail has been writing unrelated notes filled with obscenities. Ponytail's reply is one of typical advice given to amateur fiction and non-fiction writers, to "write what you know.", implying that all Ponytail knows right now is obscenities.
  
Ponytail's reply to "write what you know" is a common piece of advice given to amateur fiction writers - it means that writers tend to write best when they are writing about something they personally know well, since they will have plenty of interesting and useful experience to draw from. However, since Ponytail's comments are full of obscenities, she is sarcastically suggesting that obscenity is all she currently knows.
+
Also in programming, ''{{w|Subroutine|functions}}'' are pieces of code which developers create to avoid repetition and make the code clearer (such as "calculate distance between points" or "process values"). A function which does nothing is almost useless (although sometimes programmers leave functions empty when they create the skeleton of a program, but then they usually intend to fill them out later). It is expected that a function ''does'' something with a given parameter, but Ponytail’s function does nothing with the parameters except returning the parameter but with the comment ''No, '''you''' deal with this''. Thus she wishes that somebody/something else ''deals'' with any problem, probably what she would also wish for right now, where she is so sad that she even neglects her projects.
  
''{{w|Subroutine|Functions}}'' are reusable pieces of code which developers create to avoid repetition and make the code more organized. For example, if the code often has to calculate the distance between two points, it makes sense to place that calculation logic into a "calculateDistance" function, which can then just be called whenever it is needed. More generally, a function accepts inputs (eg. the coordinates of two points) and may ''return'' an output (eg. the distance between the two points).
+
Ponytail replies that she writes them like this in order to try to avoid {{w|Side effect (computer science)|side effects}} (i.e. changes to global state), in line with a {{w|functional programming}} paradigm. When Cueball points out that she avoids all effects, Ponytail [http://www.imdb.com/title/tt0090605/quotes?item=qt2959706 quotes] part of a famous quote from {{w|Ellen Ripley|Ripley}} in {{w|Aliens (film)|Aliens}}: ''I say we take off and nuke the entire site from orbit. It's the '''only way to be sure'''.'' By replying that it's the "[https://www.youtube.com/watch?v=aCbfMkh940Q only way to be sure]" she is thus indirectly saying better safe than sorry, but in reality she just doesn't care about her programming anymore because of her sad state of mind.
 
 
Cueball notes, however, that all of the functions Ponytail has written are not actually doing anything with their inputs; they are just returning them straight back again and demanding that the calling code should deal with the problem itself. This makes the functions practically useless. Ponytail sardonically tries to justify this as a functional programming technique by saying that she is "avoiding side effects". A {{w|Side effect (computer science)|side effect}} is a situation in programming in which an isolated piece of code changes something about the global state of the program - this can be problematic, as there could be other parts of the code that were not expecting the change, and might behave differently as a result. Their different behavior is a ''side effect''. Sometimes side effects are intentional, but when they are not, they can be tricky to debug and fix.
 
 
 
{{w|Functional programming}} is a programming paradigm in which most or all computation is performed within the scope of self-contained functions, thus avoiding stateful behavior entirely. This removes the possibility of any side effects, since each function only knows what it is told via its inputs, and does not need to be concerned with anything happening outside of itself. Technically, Ponytail ''is'' adhering to this paradigm, but only in the sense that her functions are not doing anything ''at all'', and so cannot have side effects.
 
 
 
Cueball fairly makes this point by noting she is avoiding ''all'' effects, to which Ponytail [http://www.imdb.com/title/tt0090605/quotes?item=qt2959706 quotes] part of a famous quote from {{w|Ellen Ripley|Ripley}} in {{w|Aliens (film)|Aliens}}: ''I say we take off and nuke the entire site from orbit. It's the '''only way to be sure'''.'' By replying that it's the "[https://www.youtube.com/watch?v=aCbfMkh940Q only way to be sure]" she is thus indirectly saying better safe than sorry, but in reality she just doesn't care about her programming anymore because of her sad state of mind.
 
  
 
The title text is a pun, interpreting the phrase "side effect" literally. If you turn an object 90 degrees along the right axis you will place it on its side, so thus making it a effect of putting something on its side, or a "side effect." You can also turn 90 degrees (along another axis), facing what was previously your side.
 
The title text is a pun, interpreting the phrase "side effect" literally. If you turn an object 90 degrees along the right axis you will place it on its side, so thus making it a effect of putting something on its side, or a "side effect." You can also turn 90 degrees (along another axis), facing what was previously your side.

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)