News for hackers. Stuff that matters.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by california-og on Thursday March 27, 2025 @10:00PM (#43500614)
Here's some examples where the en dash could make things more clear:

-5--2°C

post-war-pre-digital era

See sections 10-O-15-Q

Try Our New York-London Flight Connection!

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by mvdtnz on Thursday March 27, 2025 @11:10PM (#43501101)
-5°C to -2°C

post-war - pre-digital era (not a sentence any sane person would use anyway).

See sections 10-O - 15-Q

Try our New York-London flight connection! (no kind of dash clears this one up without fixing capitalisation).

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by california-og on Thursday March 27, 2025 @11:34PM (#43501248)
The last one was a gotcha: it's their newly established York–London flight!

Try Our New York–London Flight Connection.

Or if it was New York:

Try Our New York – London Flight Connection.

Note the additional spaces. Agree on the capitalization though.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by handoflixue on Friday March 28, 2025 @12:22AM (#43501506)
> Try Our New York – London Flight Connection.

I'd wager serious money that if you put that on a sign and surveyed people, at least in the US, they'd all still conclude it is a "New York" to "London" flight.

What's the use of a communication tool, if it doesn't actually communicate anything to real people?

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by voidUpdate on Friday March 28, 2025 @07:33AM (#43504083)
York doesn't have an active airport
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by quanloh on Friday March 28, 2025 @01:46AM (#43501944)
In my region at least, -5 ~ -2°C, or -5°C ~ -2°C. If the something is making people confuse, we replace it with a suitable substitution. Re-educating people is really just last resort. Is there anything keeping us from changing it other than ego?
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by CRConrad on Tuesday April 08, 2025 @07:46PM (#43627569)
In all countries I've lived in (and until right now, I thought the entire world), that would mean "-5 is approximately equal to -2".
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by jeffhuys on Friday March 28, 2025 @04:52AM (#43503055)
-5 - 2°C
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by CRConrad on Tuesday April 08, 2025 @07:47PM (#43627571)
= -7°C

HTH!

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by account42 on Friday March 28, 2025 @08:07AM (#43504351)
Have you heard of "to"?
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by theelous3 on Friday March 28, 2025 @05:09PM (#43509833)
Sorry, lol? You didn't really think this through. This is what that looks like using en/em

-5—2

That looks like dogshit.

It's a mistake in the first place to decide to use only dashes and no spaces to convey all of this lol

-5 - 2 (Everyone knows a sign has no space - if you are building your sign for idiots try some of these:)

-5 > 2 -5->2 -5 <-> 2 -5 to 2 -5...2 Between -5 and 2

blah blah blah