Alt text:

’“‘”’” means “I edited this text on both my phone and my laptop before sending it”

1 point

<Hell yeah Animorphs>

permalink
report
reply
10 points

( . )( . ) means titties

permalink
report
reply
3 points

8008135

permalink
report
parent
reply
17 points

I don’t get the “Someone British is talking” bit

We only use the singular ’ to indicate speech within speech -

John said, “I was just speaking to Charlie, and he said ‘It’s not often XKCD gets things wrong’, and I agreed”.

I could be wrong but that’s what I was taught

permalink
report
reply
3 points

Pull out your closest volume of Lord of the Rings and take a look. My copy at least has single-quotes for the speech text and double-quotes are used for nested speech. I guess it might be up to the publisher (eg: my copy of Harry Potter has been “Americanized” and thus uses double-quotes for the first level of speech text), but every copy of LotR i’ve run across uses single-quotes.

permalink
report
parent
reply
1 point

I heard somewhere it was to save ink.

Maybe they were pulling my leg.

permalink
report
parent
reply
16 points
*

The use of quotation marks, also called inverted commas, is very slightly complicated by the fact that there are two types: single quotes (` ') and double quotes (" "). As a general rule, British usage has in the past usually preferred single quotes for ordinary use, but double quotes are now increasingly common; American usage has always preferred double quotes.

permalink
report
parent
reply
5 points

British English often uses single quotation marks to identify the outermost text of a primary quotation versus double quotation marks for inner, nested quotations.

From wiki

Huh, just shows you how I was taught the British way many years ago, but adopted the American way due to reading so many bloody books!

permalink
report
parent
reply
1 point

Old British person here, I was always taught double quotation marks for speech and single quotation marks for actually quoting something.

permalink
report
parent
reply
5 points

…I do have a favorite monospace font. Its Monaspace Krypton

permalink
report
reply
7 points

Oooh, I like it (Link for anyone else who’s curious)

People who have Opinions on monospace fonts may enjoy https://www.codingfont.com/

permalink
report
parent
reply
2 points
*

Programmingfonts.org is another one if you just want to check some out.

permalink
report
parent
reply
5 points

The python function is some sort of brainfuck?

permalink
report
reply
8 points
*

It’s a list with a tuple, with a list with an empty dictionary. I’m not sure the innermost parenthesis is legal there.

Edit: Well, I tested it. It’s legal. {()} is just a set with an empty tuple instead of a dictionary.

permalink
report
parent
reply
3 points

This sounds like something I would do with all of 40 hours or so of Python-esque programming under my belt. I feel like there has to be a better way, but it worked. I’m worried this might be the best way.

permalink
report
parent
reply
2 points

Ouch. If you ever catches yourself writing something like this, stop. Intermediate values deserve names too. Even Haskell developers wouldn’t go into such extreme namelessness.

permalink
report
parent
reply

xkcd

!xkcd@lemmy.world

Create post

A community for a webcomic of romance, sarcasm, math, and language.

Community stats

  • 1.8K

    Monthly active users

  • 176

    Posts

  • 1.2K

    Comments

Community moderators