this post was submitted on 15 Sep 2023
444 points (84.2% liked)

Programmer Humor

18969 readers
903 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pthaloblue 57 points 11 months ago (2 children)

I don't know why I'm here commenting about this, but I love type, so:

Hyphen (-): the short one, used for hyphenated words. fire-eaters. Close-up.

en-dash (–): slightly longer, traditionally the length of a lowercase"n" in the typeface. Used between for things like a timeframe. 10–11:30, August–October

em-dash (—): the longest of the three, and the length of a lowercase "m". Used as a punctuation mark to denote a side comment or to abruptly cut off a sentence. "It's a great punctuation mark—in fact I overuse it—but it's still useful." "Hey where are you going with that giant—"

I didn't bother to double check the definitions, so there might be more specific rules, but these are my rules of thumb.

[–] [email protected] 8 points 11 months ago (1 children)
[–] pthaloblue 2 points 11 months ago

Ah this is nice!

[–] [email protected] 4 points 11 months ago

Thank you. I have learned something new today!