Editing 859: (

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 ==
 
). Okay, with that out of the way, let the explanation begin.
 
  
 
In programming, punctuation is often used to mark sections of code. Paired punctuation marks must always be matched up with a corresponding closing mark, otherwise a so-called {{w|syntax error}} occurs. The programming language {{w|Lisp_(programming_language)|Lisp}} (also featured in [[224: Lisp]] is known for large numbers of nested/paired parentheses. Even in literary works intended only for human consumption, the absence of a matching closing parenthesis as appears in this sentence or other "balanced" punctuation sets creates a mental expectation of eventual closure and completion that remains unfulfilled even long after the unmatched mark is encountered.
 
In programming, punctuation is often used to mark sections of code. Paired punctuation marks must always be matched up with a corresponding closing mark, otherwise a so-called {{w|syntax error}} occurs. The programming language {{w|Lisp_(programming_language)|Lisp}} (also featured in [[224: Lisp]] is known for large numbers of nested/paired parentheses. Even in literary works intended only for human consumption, the absence of a matching closing parenthesis as appears in this sentence or other "balanced" punctuation sets creates a mental expectation of eventual closure and completion that remains unfulfilled even long after the unmatched mark is encountered.
  
There is also a reference to [[312: With Apologies to Robert Frost]] which could contain the missing parentheses.
+
There is also reference to [[312: With Apologies to Robert Frost]] which could contain the missing parentheses.
  
 
It can also be interpreted as a {{w|metaphor}}, which compares the reader with a Lisp {{w|Interpreter (Computing)|interpreter}}. The interpreter looks for the parenthesis until the end of the file, where it eventually halts, and prints out the error. The comic claims that if you read an unmatched parenthesis, you will look for it for the rest of the day too.
 
It can also be interpreted as a {{w|metaphor}}, which compares the reader with a Lisp {{w|Interpreter (Computing)|interpreter}}. The interpreter looks for the parenthesis until the end of the file, where it eventually halts, and prints out the error. The comic claims that if you read an unmatched parenthesis, you will look for it for the rest of the day too.
Line 19: Line 17:
 
It also refers to an awkward feeling when you see something out of place in a piece of literary text (like unmatched parentheses, spellying error or a randomly-plac,ed comma..
 
It also refers to an awkward feeling when you see something out of place in a piece of literary text (like unmatched parentheses, spellying error or a randomly-plac,ed comma..
  
Also, it may refer to {{w|OCD}}.
+
Finally, in some countries (Russia in particular) they use just parentheses instead of text smileys so that :) turns into ) and :( becomes (. Hence Russians can magically resist the unresolved tension of the comic but may feel a bit sad instead as a side effect.  
 
 
Finally, some countries (Russia in particular) use just parentheses instead of text smileys so that <code>:(</code> becomes <code>(</code> and <code>:)</code> turns into <code>)</code>. Hence those readers can magically resist the unresolved tension of the comic but may feel a bit sad instead as a side effect.  
 
  
The title text refers to the same issue as already highlighted in [[327: Exploits of a Mom]]: if your scripts trust external input, you sometimes will be surprised. At the time of this comic, there were quite a few websites that would grab the  xkcd comic three times a week and publish them on their own site. This comic likely broke at least some of the websites because of either the unmatched paren or the extra unmatched markup that is in the title text.
+
The title text refers to the same issue as already highlighted in [[327: Exploits of a Mom]]: if your scripts trust external input, you sometimes will be surprised. At the time of this comic, there were quite a few websites that would grab the  xkcd comic three times a week and publish them on their own site. This comic likely broke at least some of the websites because of either the unmatched brace or the extra unmatched markup that is in the title text.
  
 
==Transcript==
 
==Transcript==
 
:[Caption inside an oblong panel:]
 
:[Caption inside an oblong panel:]
 
:(An unmatched left parenthesis creates an unresolved tension that will stay with you all day.
 
:(An unmatched left parenthesis creates an unresolved tension that will stay with you all day.
 
==Trivia==
 
 
* There are other comics with unpaired parentheses (not counting emoticons): [[19]], [[850]], [[1079|1079 (in "Colorado")]], [[1960]] This list is incomplete. Please expand it.
 
** By contrast, [[312]] has an unpaired close parenthesis.
 
* The well-known "helper website" [http://gChq.github.io/CyberChef/# CyberChef] has a text on its loading page that is a reference to this comic, probably as a joke.
 
  
 
{{comic discussion}}
 
{{comic discussion}}
 
[[Category:Programming]]
 
[[Category:Programming]]

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)