Main Page

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search

Welcome to the explain xkcd wiki!
We have an explanation for all 2954 xkcd comics, and only 18 (1%) are incomplete. Help us finish them!

Latest comic

Go to this comic explanation

Bracket Symbols
’"‘”’" means "I edited this text on both my phone and my laptop before sending it"
Title text: ’"‘”’" means "I edited this text on both my phone and my laptop before sending it"

Explanation

Ambox notice.png This explanation may be incomplete or incorrect: Created by a ([{《"Somewhat satisfied rob- I mean human"》}]) - Please~~ change this comment when editing this page. Do *NOT* delete this tag too soon.

Brackets, also called parentheses, are typographical symbols used to delimit a section of text. Unlike most typographical symbols, brackets usually come in pairs, and the end bracket is typically the mirror image of the start bracket.

This comic shows a variety of (mostly) real bracket symbols, along with Randall's description.

Descriptions
Symbols Comic text Real use Explanation of the joke
( ) Regular parentheses for setting stuff aside The regular curved bracket is the most commonly used in literature, and typically denotes aside remarks that are relevant to, but not part of, a sentence (for example, a clarifying explanation). In stage plays, teleplays, and screenplays, they can indicate stage directions. It is also frequently used in mathematical expressions and programming languages as a grouping operator, to force a particular order of evaluation. Randall explains, accurately, that these are regular parentheses. No joke yet.
[ ] Square brackets (more secure) In literature, square brackets often denote meta-textual information, such as glosses, omissions, translator and editorial notes. In mathematics, they are often used for matrices or closed intervals. Sometimes they are used as outer parentheses for easier visual matching in complicated expressions. In programming languages, square brackets are commonly used as the indexing operator, with the index being placed inside the brackets. They may also be used to denote specific data structures such as arrays or lists. In language definition syntax (such as EBNF) square brackets indicate something optional. The straight edges and sharper corners make these brackets resemble a solid box, presumably made of a hard material, which would be a more secure container than the "soft"-looking curved brackets. They also resemble staples, which are used to hold things in place securely.
{ } This stuff is expensive so be careful with it Known as "curly brackets." Rarely used in normal text, although may be used in expanded form to 'enclose' multiple optional lines following/preceding a single element of common purpose (similar to the 'split and recombined tracks' of 2243: Star Wars Spoiler Generator). In mathematics, usually used to denote sets, but other usage is possible. In programming languages most often used to denote begin and end of a separate block of code, declaring and initializing objects, and other uses. In language definition syntax, it is often used to represent a set of repeated expressions. Curly brackets look fancy, like gates with ornate ironwork. Randall implies a world where expensive stuff is set aside using the fanciest brackets available. Writing them by hand is also more complicated than regular or square brackets (in a way making them slightly more time consuming/expensive).
Someone is talking Used to denote speech or citations in normal text. There are various styles from the identical pairing " " to the 66-and-99-like “ ” which differentiates opening and closing quotes. The comic appears to use a handwriting-only slope-variation.

The straight (ASCII) style is commonly used in programming languages to denote text that is data, rather than code, such as literal messages intended to be displayed to the user.

Word processors commonly implement “smart quotes” by detecting the use of the single-type keyboard character at each end of a possible quote and converting it into the fancier left/right versions (though this is not always desired, leading to the default behaviour being disabled or reverted).

Typical form of quotation marks. Quotation marks are most often used in literature to mark dialogue (words said by characters talking) as opposed to descriptions or narrative. Some languages or communities use different typographical conventions such as „German quotation marks“. See also below for British and French conventions.
Someone British is talking Allegedly 'British quotation marks', although this may be disputed by actual Brits who were taught otherwise. Single quotes might be more often used as 'scare quotes' or a related form of 'emphasis' marker. One possible distinction is that single-quotes give non-literal paraphrasing, wherever double-quotes are used for the verbatim reporting of words (spoken or written).

In programming languages single quotes are used for diverse purposes. In C and Pascal families they are used to delimit single characters as opposed to strings of characters, which use double quotes. In many scripting languages like Unix shells, Perl, Python, JavaScript and others single quotes are used for strings as an alternative for double quotes, in some cases with different rules for interpreting the contents of such string. In Visual Basic single quotes (unpaired) are used to mark comments. There are other uses, depending on the language.

As with the double quotes above, the comic versions appear to be handwriting-specific, with no easy-to-use equivalents in commonly used computer fonts.

Alternative form of quotation marks. Some British media use these to mark dialogue, for historic reasons, though in modern usage the double quotes may be more common and acceptable.

Single quotes within double quotes (and/or double quotes within single, as necessary) can also be used to more clearly indicate reported words as part of an outer quote, i.e. when you're quoting one person and their statement contains a quote of someone else. The main quotation would be surrounded with double quotes, while the nested quotation is delimited with single quotes (or vice-versa, depending upon the house style in use). This may even be further alternated to arbitrary depth!

‹ › An Animorph is talking Angle brackets. Aside from telepathic speech in prose, it's often used in comics to indicate that a character is speaking a foreign language that has been translated for the reader's benefit – at least notionally. Angle brackets are heavily used in HTML as markup tags to define how the source of websites intends to convey various stylistic and/or semantic distinctions. Books like the series Animorphs or science fiction novels use these when a character is communicating nonverbally, for example via telepathy. In the Animorphs series, this is called thought-speak, or sometimes "thought speech".
« » A French Animorph is talking French quotation marks. Used for quotes within quotes in some languages. For quoting conventions in different languages, see this document. These symbols are French quotation marks - that's their actual name - and are used in French texts as the first-level quotes. Here Randall is mixing the SF convention described above with actual French use.
| | I'm scared of negative numbers but these sigils will protect me Vertical bars in mathematics are used for the Absolute value function. The absolute value of a number is its value with all negative and positive signs stripped off; in practical terms this is used to ensure a given value is positive (ex. |-69| = 69). If for whatever reason you need to "protect" your equations from negative numbers (which does come up in programming from time to time) the absolute value function has you covered — though it may not always be denoted with vertical bars. Sigils are symbols used in magic, often for protection from evil.
* * _ _ / / I have a favorite monospaced font These symbols are conventionally used in text-based computer communications (such as emails, chats, Usenet News articles) to denote *bold*, _underlined_, or /italic/ font; some client programs interpret them and display actual bold text etc. The kind of person who uses these symbols is the kind of person who uses a terminal emulator, which allows users to select one's favorite (preferably monospace) font. And a Monospace font is a font (set of shapes used for letters, numbers and symbols) in which every character has the same width, unlike variable-width (proportional) font, in which the letter I is much narrower than W. While proportional font is more pleasant to read, monospace is easier to represent in simple mechanical or electronic devices, and has been used almost exclusively in the advent of computer technology, specifically in text-only environments such as computer terminals; these most often had only one bare-bones font that did not provide separate glyphs for different styles of character (weight, slant) or the ability to superimpose characters (directly adding underlines).
~~ I'm being sarcastic and I had a Tumblr account in 2014 Used in the markdown specification to denote text with a horizontal line through it, known as "strikethrough". Used by most places that implement the markdown spec, such as Discord, Reddit, most wikis, Github, and Tumblr. Strikethrough markup can be found on sites like Tumblr, Reddit, or Discord to indicate that you didn't really mean something you said, and such usage peaked in the mid-2010s. This could also reference the trend of putting tildes after words or sentences to indicate the words are being said in a lilting or sing-song manner, or to indicate it is being said in a cute, nice, seductive timbre or as a particular part of a subcultural reference, e.g. in Furry fandom. Applied to a chosen username, it may be made to make it stand out, or else add sufficiently uniqueness despite the core name being likely to be in common use.
[([{()}],)] These Python functions are not getting along The square brackets denote a mutable list, the round brackets an immutable tuple , and the curly brackets a set. It is valid to have them nested like this. [] could also be a slice (a bit of a list or tuple) and {} could be a dictionary, but the syntax is wrong for these. Random parentheses - Spaghetti code (badly maintained or written) in programming languages including Python will often be badly organized creating a mess of indentations and brackets used to create functions or loops etc.
⌊ ⌋ Help, I'm a mathematician trying to work with actual numbers and they're scary Mathematical symbols meaning "floor" (i.e., round down to the nearest lower integer). Mathematicians stereotypically prefer to work with abstract symbols and concepts rather than numbers or indeed anything that might pertain to the real world. When presented with an "actual" (real) number, it is possible that a mathematician may wish for it to be rounded to the nearest integer to make it simpler, or handle it using number theory.
∫   Why are you trying to read my violin? ∫ looks like the Integral symbol which itself is derived from a Long s. In mathematics it is usually paired with the differential of the variable of integration (e.g., dx). A reverse integral symbol is not used in Western mathematics typesetting; it occasionally appears in mathematical texts written in Arabic, along with other symbols likewise adapted to Arabic's right-to-left writing direction. The symbol also looks like a lowercase esh (ʃ), used in phonetic transcription.

There is no unicode symbol for the reversed version - it is displayed here as a reversed ∫. The esh symbol has a reversed counterpart in Unicode, but it's quite a bit shorter (ʅ).

Violins are known for their characteristic F-holes.
This symbol also resembles half a pair of curly braces.
| ⟩ Don't stop here–this is quantum country This notation is used in quantum mechanics to notate a vector. This is called a ket, and the mirrored sign ⟨| is called a bra. Combining them as bra-ket gives the inner product ⟨|⟩. This is paraphrasing the movie Fear and Loathing in Las Vegas, where Johnny Depp's character Raoul Duke says "We can't stop here, this is bat country!" while hallucinating violently on drugs, though not as violently as later in the movie.

The title text includes different kinds of quotes, including the ASCII " and ' as well as the Unicode “ and ” (which have both an opening and closing version). By default, iOS uses the latter curly quotes, while Windows uses the former straight quotes (an OS-level application of the “smart quotes” described above). Editing the same text on both an iPhone and a Windows computer, in circumstances with a different approach to such general auto-replacement, can leave both types of quotes in the text.

Parentheses are a running joke on XKCD. Previous parenthetical comics include:

Transcript

Ambox notice.png This transcript is incomplete. Please help editing it! Thanks.
Bracket Symbols
and what they mean
( ) Regular parentheses for setting stuff aside
[ ] Square brackets (more secure)
{ } This stuff is expensive so be careful with it
" " Someone is talking
' ' Someone British is talking
‹ › An Animorph is talking
« » A French Animorph is talking
| | I'm scared of negative numbers but these sigils will protect me
* * _ _ / / I have a favorite monospaced font
~ ~ I'm being sarcastic and I had a Tumblr account in 2014
[ ( [ { ( ) } ] , ) ] These Python functions are not getting along
⌊ ⌋ Help, I'm a mathematician trying to work with actual numbers and they're scary
ʃ ʅ Why are you trying to read my violin?
| ⟩ Don't stop here--this is quantum country


Is this out of date? Clicking here will fix that.

New here?

Last 7 days (Top 10)

Lots of people contribute to make this wiki a success. Many of the recent contributors, listed above, have just joined. You can do it too! Create your account here.

You can read a brief introduction about this wiki at explain xkcd. Feel free to sign up for an account and contribute to the wiki! We need explanations for comics, characters, themes and everything in between. If it is referenced in an xkcd web comic, it should be here.

  • There are incomplete explanations listed here. Feel free to help out by expanding them!

Rules

Don't be a jerk!

There are a lot of comics that don't have set-in-stone explanations; feel free to put multiple interpretations in the wiki page for each comic.

If you want to talk about a specific comic, use its discussion page.

Please only submit material directly related to (and helping everyone better understand) xkcd... and of course only submit material that can legally be posted (and freely edited). Off-topic or other inappropriate content is subject to removal or modification at admin discretion, and users who repeatedly post such content will be blocked.

If you need assistance from an admin, post a message to the Admin requests board.