Editing 1513: Code Quality

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 15: Line 15:
 
* [[2138|2138: Wanna See the Code?]]
 
* [[2138|2138: Wanna See the Code?]]
  
 +
It is about the apprehension of asking for help from an expert who is a friend. Often we fear that we will be judged and they will think less of us, which is what occurs in this comic.
  
 
[[Ponytail]] is about to look at some {{w|source code}} [[Cueball]] has written, and he is warning her that he is self-taught so his code probably won't be written the way she is used to. In spite of Ponytail's initial (polite) optimism, she comments in three increasingly harsh similes (and a fourth in the title text).
 
[[Ponytail]] is about to look at some {{w|source code}} [[Cueball]] has written, and he is warning her that he is self-taught so his code probably won't be written the way she is used to. In spite of Ponytail's initial (polite) optimism, she comments in three increasingly harsh similes (and a fourth in the title text).
Line 31: Line 32:
 
Many crying-face emoji are possible if variables can include full Unicode (e.g., 😒,😭,πŸ˜‚,😿,😹), as well as faces with sweat drops that are often mistaken for tears (πŸ˜ͺ,πŸ˜₯,😰,πŸ₯΅). In some programming languages it would be impossible to use them in variable names, as the symbols would break the language's syntax rules. Exceptions to this include {{w|Swift (programming language)|Swift}} and {{w|Perl|Perl}} ([http://perldoc.perl.org/5.24.0/perlunicode.html]), but most languages with compilers that support Unicode characters can include this kind of emoji, even for languages that predate Unicode like {{w|C++}} and {{w|Lisp_(programming_language)|Lisp}}.
 
Many crying-face emoji are possible if variables can include full Unicode (e.g., 😒,😭,πŸ˜‚,😿,😹), as well as faces with sweat drops that are often mistaken for tears (πŸ˜ͺ,πŸ˜₯,😰,πŸ₯΅). In some programming languages it would be impossible to use them in variable names, as the symbols would break the language's syntax rules. Exceptions to this include {{w|Swift (programming language)|Swift}} and {{w|Perl|Perl}} ([http://perldoc.perl.org/5.24.0/perlunicode.html]), but most languages with compilers that support Unicode characters can include this kind of emoji, even for languages that predate Unicode like {{w|C++}} and {{w|Lisp_(programming_language)|Lisp}}.
  
βˆ’
In any event, Cueball's code may best be represented by a bunch of people crying, as that seems to be the only proper response to it.{{citation needed}}
+
In any event, Cueball's code may best be represented by a bunch of people crying, as that seems to be the only proper response to it.
  
 
===Programming Style===
 
===Programming Style===
Line 44: Line 45:
 
:Ponytail: ...Wow. This is like being in a house built by a child using nothing but a hatchet and a picture of a house.
 
:Ponytail: ...Wow. This is like being in a house built by a child using nothing but a hatchet and a picture of a house.
  
βˆ’
:[Same scene.]
+
:[Ponytail sits at desk, Cueball stand behind her.]
 
:Ponytail: It's like a salad recipe written by a corporate lawyer using a phone autocorrect that only knew Excel formulas.
 
:Ponytail: It's like a salad recipe written by a corporate lawyer using a phone autocorrect that only knew Excel formulas.
  
βˆ’
:[Same scene.]
+
:[Ponytail sits at desk, Cueball stand behind her.]
 
:Ponytail: It's like someone took a transcript of a couple arguing at IKEA and made random edits until it compiled without errors.
 
:Ponytail: It's like someone took a transcript of a couple arguing at IKEA and made random edits until it compiled without errors.
 
:Cueball: '''''Okay,''''' I'll read a style guide.
 
:Cueball: '''''Okay,''''' I'll read a style guide.
  
 
==Trivia==
 
==Trivia==
βˆ’
*Emoji can be simulated using {{w|ASCII}} characters, but their roots are mostly separate from ASCII {{w|emoticon}}s. Most languages will allow variable names to include underscores, so some sad face ASCII emoticon will be legal variable names, such as <code>T_T</code>, <code>p_q</code>, <code>ioi</code> etc., but such things rarely show up in software variables. Many more can be made possible using UTF-8 characters, including actual emojis.
+
*Emoji can be simulated using {{w|ASCII}} characters, but their roots are mostly separate from ASCII {{w|emoticon}}s. Most languages will allow variable names to include underscores, so some sad face ASCII emoticon will be legal variable names, such as <code>T_T</code>, <code>p_q</code>, <code>ioi</code> etc., but such things rarely show up in software variables. Many more can be made possible using UTF-8 characters.
  
 
{{comic discussion}}
 
{{comic discussion}}

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)