<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=B%C3%A1lint</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=B%C3%A1lint"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/B%C3%A1lint"/>
		<updated>2026-04-14T17:02:49Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=1790:_Sad&amp;diff=134192</id>
		<title>1790: Sad</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=1790:_Sad&amp;diff=134192"/>
				<updated>2017-01-25T19:19:37Z</updated>
		
		<summary type="html">&lt;p&gt;Bálint: Calculating the diameter of a circle from the radius is done by multiplying it with 2. If a programmer makes stuff like that, then he's going to lose his job or his mind very soon.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 1790&lt;br /&gt;
| date      = January 25, 2017&lt;br /&gt;
| title     = Sad&lt;br /&gt;
| image     = sad.png&lt;br /&gt;
| titletext = With the right 90-degree rotation, any effect is a side effect.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
&lt;br /&gt;
The comic is about [[Cueball]] confronting [[Ponytail]] about her recent behavior and emotional state. It seems possible [[Randall]] is venting anger following the {{w|United States presidential election, 2016}}, although it is not mentioned.&lt;br /&gt;
&lt;br /&gt;
Ponytail seems unwilling to acknowledge that anything she is doing is wrong, offering absurd justifications for her behavior.&lt;br /&gt;
&lt;br /&gt;
Ponytail has retreated to video games for solace and to the point that her real life projects are suffering. &lt;br /&gt;
''{{w|Stardew Valley}}'' is a video game in which a player creates and manages a virtual farm.&lt;br /&gt;
&lt;br /&gt;
Cueball's comment about not being able to hide from everything is a common one for insecure people or for those trying to run away from their problems.&lt;br /&gt;
Ponytail's reply is in the form of a {{w|PolitiFact.com|PolitiFact}} reply, claiming (possibly quite truly) that such assertions are false.&lt;br /&gt;
&lt;br /&gt;
{{w|Comment (computer programming)|Comments}} are something a programmer adds to their code such to make a note for themselves or others, typically to explain a complicated piece of logic or explaining external dependencies of a piece of code. &amp;lt;br /&amp;gt;&lt;br /&gt;
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, that to &amp;quot;write what you know.&amp;quot;, implying that all Ponytail knows right now is obscenities.&lt;br /&gt;
&lt;br /&gt;
{{w|Subroutine|Function}}s are pieces of code which developers create to avoid repetition and make the code clearer (such as &amp;quot;calculate distance between points&amp;quot; or &amp;quot;process values&amp;quot;). A function which does nothing is almost useless (Sometimes programmers leave functions empty, when they create the skeleton of a program, then they usually fill them up later).&amp;lt;br /&amp;gt;&lt;br /&gt;
Ponytail replies that she is trying to avoid {{w|Side effect (computer science)|side effects}} (i.e. unexpected, unintended, and typically unwanted effects upon calling a piece of code), in line with a {{w|functional programming}} paradigm. &amp;lt;br /&amp;gt;&lt;br /&gt;
When Cueball points out that she has avoided all effects, Ponytail quotes the &amp;quot;Aliens&amp;quot; movie, replying that it's the &amp;quot;only way to be sure.&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The title text is a pun, interpreting the phrase &amp;quot;side effect&amp;quot; literally. &amp;lt;br /&amp;gt;&lt;br /&gt;
If you turn an object 90 degrees you will place it on its side, so thus making it a effect of putting something on its side, or a &amp;quot;side effect.&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
You can also turn 90 degrees, facing what was previously your side.&lt;br /&gt;
&lt;br /&gt;
Ponytail's despondence is likely in response to {{w|Donald Trump}}'s election as 45th president of the United States.  The title &amp;quot;Sad&amp;quot; is a common interjection in Trump's tweets.  The time-frame of &amp;quot;the past few months&amp;quot; from the first panel is consistent with this, as the election was on November 8, 2016, and the comic was posted on January 25, 2017.  The reference to fact-checking in the second panel is also reminiscent of the election and post-election coverage. The comic is also the second one posted following the inauguration of President Trump.&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
[Cueball is looking at Ponytail on a computer.]&lt;br /&gt;
:Cueball: How are you doing?&lt;br /&gt;
:Ponytail: Hah.&lt;br /&gt;
:Cueball: You seem distant lately. For the past few months.&lt;br /&gt;
:Ponytail: Can't ''imagine'' why.&lt;br /&gt;
:Cueball (offscreen): Your projects have stagnated.&lt;br /&gt;
:Ponytail: But my Stardew Valley farm is doing ''great''. &lt;br /&gt;
:Cueball (offscreen): You can't just hide from everything. &lt;br /&gt;
:Ponytail: ''FACT CHECK'': Mostly false.&lt;br /&gt;
:Cueball: I'm glad you're including more comments in your code, but it would be nice if they were comments ''about'' your code. Or at least a bit less obscenity-filled.&lt;br /&gt;
:Ponytail: They say to write what you know.&lt;br /&gt;
:[Cueball leans forward]&lt;br /&gt;
:Cueball: All the functions you've written take everything passed to them and return it unchanged with the comment &amp;quot;No, ''YOU'' deal with this.&amp;quot;&lt;br /&gt;
:Ponytail: It's a functional programming thing. Avoiding side effects.&lt;br /&gt;
:Cueball: You avoid ''all'' effects. &lt;br /&gt;
:Ponytail: Only way to be sure.&lt;br /&gt;
&amp;lt;!--Do NOT include title text.--&amp;gt;&lt;br /&gt;
{{comic discussion}}&lt;/div&gt;</summary>
		<author><name>Bálint</name></author>	</entry>

	</feed>