News for hackers. Stuff that matters.
Re:How to use (or not use) a hyphen by mauvehaus on Friday April 29, 2022 @01:27PM (#31208159)
I'm a little surprised that anyone would write this article without mentioning the en-dash and em-dash. They are frequently confused with hyphens but serve a rich and sometimes overlapping variety of purposes.

https://en.m.wikipedia.org/wiki/Dash#En_dash

https://en.m.wikipedia.org/wiki/Dash#Em_dash

(Edited to fix the spelling of em-dash. Doh!)

Re:How to use (or not use) a hyphen by ramshorns on Friday April 29, 2022 @01:46PM (#31208456)
My favourite example of this is using an en dash for a relationship between two separate things, rather than the more closely-connected compound adjective of a hyphen.

Italian–American relations: foreign relations between the governments of Italy and the United States. Italian-American relations: relatives who have moved from Italy to the United States.

Re:How to use (or not use) a hyphen by caymanjim on Friday April 29, 2022 @03:55PM (#31209919)
I'm surprised at how much of an impact your use of the en dash here has on how I read the sentence. I found myself pausing longer between words in my inner dialogue as I read "Italian–American".
Re:How to use (or not use) a hyphen by clmay on Friday April 29, 2022 @07:48PM (#31211908)
Prosody is wonderful, innit?
Re:How to use (or not use) a hyphen by caymanjim on Friday April 29, 2022 @07:55PM (#31211953)
Thanks for making me look-up a word.
Re:How to use (or not use) a hyphen by dn3500 on Friday April 29, 2022 @02:02PM (#31208647)
They don't mention it because the dash is dead. Check any major news web site, even the New York Times, and you'll find they often use the repulsive double hyphen in place of dash.
Re:How to use (or not use) a hyphen by thekoma on Friday April 29, 2022 @02:08PM (#31208720)
The article has two Em dashes in the first paragraph. I believe haven't noticed the double hyphen anywhere. I know some word processors turn `--` to En dash and `---` to Em dash, so it might be a mix-up there.
Re:How to use (or not use) a hyphen by dn3500 on Friday April 29, 2022 @04:16PM (#31210127)
Can't find any in the NYT today, but here's one from CNN: https://lite.cnn.com/en/article/h_ff31bbc01931e2dcb21eea5d2b...
Re:How to use (or not use) a hyphen by lelandfe on Friday April 29, 2022 @04:52PM (#31210457)
Their full site uses an en dash: https://www.cnn.com/2022/04/29/us/texas-migrant-arrest-progr...

I'd be aghast if a double hyphen was the house style for a major news outlet.

Re:How to use (or not use) a hyphen by geoffpado on Friday April 29, 2022 @05:56PM (#31211022)
Does it? I definitely see a double-hyphen at this link.
Re:How to use (or not use) a hyphen by lelandfe on Saturday April 30, 2022 @09:00AM (#31215717)
> Black and Brown – primarily Latino
Re:How to use (or not use) a hyphen by dboreham on Friday April 29, 2022 @02:10PM (#31208742)
Many applications will auto-correct, or typeset double dash to an En-dash. Perhaps they thought they were using such an editor?
Re:How to use (or not use) a hyphen by valenaut on Friday April 29, 2022 @03:46PM (#31209822)
I always type -- for en dash. Usually text fields that accept markdown-like syntax will correct it, but I just leave it if they don't.
Re:How to use (or not use) a hyphen by deltarholamda on Friday April 29, 2022 @02:36PM (#31209044)
>repulsive double hyphen

Why do you insult my Underwood? It has not harmed you.

Re:How to use (or not use) a hyphen by tapia on Saturday April 30, 2022 @03:45AM (#31214155)
But in this very article there are m-dashes.
Re:How to use (or not use) a hyphen by deno on Friday April 29, 2022 @05:01PM (#31210551)
Article is about (very pedantic) orthography not typography. There are at least two em dashes used in the article but—that’s-(nevertheless)-completely–offtopic.
Re:How to use (or not use) a hyphen by dboreham on Friday April 29, 2022 @02:08PM (#31208719)
Came here to say the same. Reduces the authority of the article imho.