this post was submitted on 26 Oct 2026
811 points (95.6% liked)

Programmer Humor

33844 readers
1822 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] chiliedogg@lemmy.world 76 points 2 days ago (6 children)

The em dash thing annoys me because I actually used em dashes a lot in my own writing. Now I've had to change how I write to keep people from assuming I'm using generative tools for writing.

In the plus side, our mayor loves my writing style because he thinks staff should be using AI for everything.

[–] Jax@sh.itjust.works 2 points 1 day ago

I don't advise changing the way you write. It's a skill you need to flex, and unless you're using em dashes incorrectly then you should be able to find ways of differentiating yourself from AI without fundamentally changing how you communicate.

Idk, just food for thought. Fuck anyone that tries to say I use AI to write — they can eat a bag of dicks.

[–] ChickenLadyLovesLife@lemmy.world 22 points 1 day ago (2 children)

I never even heard of an em dash until I started reading about AI. I was just using hyphens everywhere I was apparently supposed to be using em dashes. I am a stickler for grammar and correct punctuation (except for punctuation inside quotes which my internal programmer won't allow me to do the American way) so I've started using em dashes -- and now people think I'm an AI.

[–] absentbird@lemmy.world 11 points 1 day ago* (last edited 1 day ago) (1 children)

That's no —, it's two hyphens playing pretend!

[–] AnyOldName3@lemmy.world 2 points 1 day ago (1 children)

Some Markdown renderers interpret two dashes as an en dash and three as an em dash, so on some Lemmy clients, that might show up as a real en dash.

[–] ChogChog@lemmy.world 2 points 1 day ago

inb4 AI resurrects the tab v. spaces debates but between how many dashes equals an em dash.

[–] Warl0k3@lemmy.world 6 points 1 day ago (1 children)

Wait, what's the rule for punctuation inside quotes? I don't think I've ever noticed a regional difference.

[–] ChickenLadyLovesLife@lemmy.world 10 points 1 day ago* (last edited 1 day ago) (1 children)

In the US, the punctuation is supposed to be inside of the quotes, even if that punctuation wasn't actually part of what's being quoted. So if somebody says "your mother sews socks that smell," the quoted partial bit would be typed as "your mother sews socks." In Britain it would be "your mother sews socks". The difference might not be really obvious visually; it's whether that period (which is required to end the sentence) is before the end quote or after it. Apparently programmers in the US (like I used to be) have gravitated towards the British style because with string variables (which are generally delimited by quotes) you can't be farting around with adding phantom punctuation inside the quotes, even if it is grammatically correct here.

[–] TwentySeven@lemmy.world 10 points 1 day ago (1 children)

I'm I'm not mistaken, the reasoning for this goes back to the printing press era. The comma or period would be on the same type block as the quotation mark; dealing with individual blocks for , or " was too fragile or fiddly. So they had blocks for ," and ." that were used regardless of sentence structure

[–] silasmariner@programming.dev 4 points 1 day ago

Oh. That's pretty neat. My favourite bit of typesetting lore :- this combination is known as the dog's bollocks in some circles.

[–] zoltanshields@lemmy.zip 25 points 2 days ago (2 children)

I used to like the punch of "It's not just ___, it's ___" but I've pretty much removed that from my vocabulary.

[–] skibidi@lemmy.world 14 points 2 days ago

Same, I would use that construction pretty frequently. Or "it's X not Y".

But now, it's not just trite, it is triggering.

[–] ChickenLadyLovesLife@lemmy.world 8 points 1 day ago (2 children)

I'm trying to stop using "for bonus points, ____". I don't have any bonus points left to give out.

[–] JasonDJ@lemmy.zip 2 points 1 day ago

Same, except "fucks sake".

I'm entirely out of fucks.

[–] zoltanshields@lemmy.zip 2 points 1 day ago (1 children)

Oh god yeah this and bullet points

I'm going to start using "for bullet points, ____" and see if anybody notices.

[–] melfie@lemmy.zip 15 points 2 days ago (3 children)

They’re useful—especially to avoid over-using other punctuation such as semicolons; I also use them to avoid back-to-back sentences with exclamation marks!

[–] Psythik@lemmy.world 6 points 2 days ago* (last edited 22 hours ago) (3 children)

I use them when connecting a thought in between another thought—for example, what I just did right now—and then returning back to the original thought. I use a semicolon when connecting two related thoughts together*; LLMs tend to only use one em-dash, so I'm hoping that by using two of them instead—and a semicolon instead whenever an LLM would use an em-dash—there will be no confusion as to whether or not I'm human.

I use them with a space on each side -- which is apparently wrong. Sigh.

[–] Blisterexe@lemmy.zip 1 points 1 day ago* (last edited 1 day ago)

You're absolutely right! I have never seen an LLM use em-dashes in the way you do — if they use them, it's always to add a pause to the sentence.

[–] grue@lemmy.world 6 points 2 days ago* (last edited 2 days ago) (1 children)

I like to alternate between sets of em dashes and sets of parentheses to obscure the fact that I'm using too many "asides" in my writing.

[–] Psythik@lemmy.world 4 points 1 day ago

I do that too on top of everything else I said. It's an ADHD thing. I write how I think, with lots of tangents.

[–] chunes@lemmy.world 2 points 1 day ago (1 children)

They’re useful. Especially to avoid over-using other punctuation such as semicolons. I also use them to avoid back-to-back sentences with exclamation marks!

There you go. It's easier, clearer, and less pretentious.

[–] WizardofFrobozz@lemmy.ca 6 points 1 day ago (1 children)

Okay, but you've just created a sentence fragment, which is fine unless you were trying to use complete sentences.

[–] chunes@lemmy.world 1 points 1 day ago (1 children)

Fragments are wrong in elementary school grammar, yes. In the real world, they're used by Charles Dickens and other sophisticated writers intentionally.

[–] WizardofFrobozz@lemmy.ca 6 points 1 day ago

Did I not say “which is fine”?

[–] OozingPositron@feddit.cl 2 points 1 day ago

Fuck, dashes, embrace, Hegel.

[–] HCSOThrowaway@lemmy.world 14 points 2 days ago (1 children)

I've just been using en dashes this entire time, was once accused of being a bot because I used them, and as a result I found out that I was using dashes improperly — and should instead use em dashes.

[–] ChickenLadyLovesLife@lemmy.world 5 points 1 day ago (1 children)

I think putting spaces before and after the em dash is incorrect, but I'm not sure. I do it because I think it just looks better visually.

[–] bold_omi@lemmy.today 2 points 1 day ago

I also think it's incorrect—I don't do it.

[–] flying_sheep@lemmy.ml 4 points 2 days ago* (last edited 2 days ago) (1 children)

Why do you care about the opinions of people who can't even fathom that someone might use Alt-hyphen to get an en dash (or shift-Alt-hyphen for an em dash)

And that's on Mac. Obviously on Linux there are even more options. (Compose key and so on)

[–] chiliedogg@lemmy.world 9 points 2 days ago

I care when people think I'm lazy and outsource my writing.

I am lazy, but my terrible writing is my own, dammit.