<?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=Kiaulen</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=Kiaulen"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/Kiaulen"/>
		<updated>2026-04-17T04:38:01Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=1513:_Code_Quality&amp;diff=90060</id>
		<title>1513: Code Quality</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=1513:_Code_Quality&amp;diff=90060"/>
				<updated>2015-04-17T13:15:55Z</updated>
		
		<summary type="html">&lt;p&gt;Kiaulen: Added snake case reference.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 1513&lt;br /&gt;
| date      = April 17, 2015&lt;br /&gt;
| title     = Code Quality&lt;br /&gt;
| image     = code quality.png&lt;br /&gt;
| titletext = I honestly didn't think you could even USE emoji in variable names. Or that there were so many different crying ones.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
&amp;lt;!-- °\_/° --&amp;gt;&lt;br /&gt;
{{incomplete| Needs fine-tuning and explaining of Ponytail's three comments}}&lt;br /&gt;
Cueball asks Ponytail to look at some source code that he has written, warning her that he is self-taught so his code probably won't be written the way she is used to.  Although few programming languages require a perfectly rigid style so long as the code is syntactically accurate, most programmers follow some sort of {{w|Programming_style|style}} to make the code easier to read.  This includes indenting lines to show levels and using descriptive variable identifiers with {{w|CamelCase|&amp;quot;camel case&amp;quot;}} or snake_case capitalization (capitalizing each word except for the first, and separating lowercase words with underscores, respectively). In spite of Ponytail's initial (polite) optimism, she comments in three increasingly harsh and absurd similes. Firstly, she suggests that reading his code is like being in a house built by an unskilled child, using a small axe to put together what he thought was a house based on a picture, which could be a reference to minecraft. Secondly, she suggests that it looks like a salad recipe, written by a corporate lawyer (who are notoriously difficult to understand), on a phone with autocorrect that only corrected things to formulas from Microsft Excel (which are notoriously complicated). Thirdly, she suggests that it is a transcript of the dialogue of couple who want to buy furniture at {{w|IKEA}} and can't agree in what to buy; that transcript could have been randomly edited until the computer compiled it with no errors.  Finally, Cueball surrenders and makes the rather weak assurance that he will read “a style guide”—he doesn't think that following a complete course is in order. &lt;br /&gt;
&lt;br /&gt;
A common technique for self-taught programmers is to follow and adapt tutorials, and to find examples of similar problems being solved and try to copy the code.  This can (but doesn't always) lead to code that is hard to follow or otherwise &amp;quot;messy&amp;quot; as various different pieces of code are {{w|Jury_rig|jury-rigged}} together and tinkered with until they seem to work.  Once a piece of code is working, it is usually considered too hard to go back and rewrite it to be cleaner or clearer, also at the risk of breaking something that has been working.  This practice is known as {{w|refactoring}} and code projects that incorporate cycles of refactoring tend to be easier to read and maintain than those that don't.&lt;br /&gt;
&lt;br /&gt;
The title text refers to {{w|emoji}}, or &amp;quot;smiley faces&amp;quot;. They exist in Unicode, or can be simulated using ASCII characters. Many languages will allow variable names to include underscores, so a variety of sad face ASCII emoji will be legal variable names, such as &amp;lt;code&amp;gt;T_T&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;p_q&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ioi&amp;lt;/code&amp;gt; etc. Progressively more possible crying-face emoji are possible if variables can include [http://hexascii.com/sad-emoticons/ UTF-8 characters] or full Unicode.&lt;br /&gt;
&lt;br /&gt;
In the realm of Unicode, there are many crying emojis, as the comic states (e.g. 😢,😭,😂,😿,😹)  In most programming languages it would be impossible to use them in variable names, as the symbols would break the language's syntax rules.  A notable exception to this is {{w|Swift (programming language)|Swift}}, Apple's new programming language, in which the code can understand and use emojis in variables.  Java, as another example, allows unicode characters in variable names as long as they are letter, numeric, combining or non-formatting marks. (See [http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#jls-3.8] and [http://docs.oracle.com/javase/7/docs/api/java/lang/Character.html#isUnicodeIdentifierPart%28int%29]).  Also, some C++ compilers support foreign Unicode characters and can have emoji in that manner.&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
:[Cueball showing Ponytail his laptop]&lt;br /&gt;
:Cueball: Keep in mind that I'm self-taught, so my code may be a little messy.&lt;br /&gt;
:Ponytail: Lemme see - I'm sure it's fine.&lt;br /&gt;
&lt;br /&gt;
:[Ponytail sits at desk]&lt;br /&gt;
:Ponytail: ...Wow. This is like being in a house built by a child using nothing but a hatchet and a picture of a house.&lt;br /&gt;
&lt;br /&gt;
:Ponytail: It's like a salad recipe written by a corporate lawyer using a phone autocorrect that only knew Excel formulas.&lt;br /&gt;
&lt;br /&gt;
:Ponytail: It's like someone took a transcript of a couple arguing at IKEA and made random edits until it compiled without errors.&lt;br /&gt;
:Cueball: '''''Okay,''''' I'll read a style guide.&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&lt;br /&gt;
&amp;lt;!-- Include any categories below this line. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Comics featuring Cueball]]&lt;br /&gt;
[[Category:Comics featuring Ponytail]]&lt;/div&gt;</summary>
		<author><name>Kiaulen</name></author>	</entry>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=1280:_Mystery_News&amp;diff=50955</id>
		<title>1280: Mystery News</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=1280:_Mystery_News&amp;diff=50955"/>
				<updated>2013-10-21T13:28:57Z</updated>
		
		<summary type="html">&lt;p&gt;Kiaulen: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 1280&lt;br /&gt;
| date      = October 20, 2013&lt;br /&gt;
| title     = Mystery News&lt;br /&gt;
| image     = mystery news.png&lt;br /&gt;
| titletext = If you find and stop the video, but you've--against all odds--gotten curious about the trade summit, just leave the tab opened. It will mysteriously start playing again 30 minutes later!&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
With the introduction of tabbed browsing, many users, even on widescreens, will have so many tabs open that it is hard to find any given one. At 44 tabs on chrome on a 1080p screen, the user can no longer see any text on the tabs. Long before this point (~20 tabs), the text is so short as to be unusable. Randall refers to this tendency to open many tabs without closing them in this comic.&lt;br /&gt;
&lt;br /&gt;
When you have your browser set to open the tabs that were open the last time you closed it, it will reload all tabs on startup (can be different for modern browsers) thus autoplaying the video. The same thing happens if a webpage silently reloads in the background for whatever reason.&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
:[Cueball sitting at a laptop.]&lt;br /&gt;
:Laptop: It's day five of the trade summit, and still no...&lt;br /&gt;
:Cueball: ''Dammit''&lt;br /&gt;
:''click click click''&lt;br /&gt;
&lt;br /&gt;
:I get most of my news from autoplaying videos in browser tabs I can't find.&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&lt;br /&gt;
[[Category:Comics featuring Cueball]]&lt;/div&gt;</summary>
		<author><name>Kiaulen</name></author>	</entry>

	</feed>