News for hackers. Stuff that matters.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by Starlevel004 on Thursday March 27, 2025 @06:09PM (#43498765)
I refuse to care about this. A single dash is all I will ever use. I see no possible reason to use the other two.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by hydrogen7800 on Thursday March 27, 2025 @08:10PM (#43499782)
I was going to post basically this. There is only one dash, and it's the one for which my keyboard has a key. Minus sign, hyphen, or any other use case. When MS word autocorrects to something else, I always angrily undo it, because I don't know or care what it's doing.

-proud dash luddite

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by lioeters on Thursday March 27, 2025 @06:54PM (#43499172)
That's the comment I was looking for to rally behind. I use the same character `-` for all purposes: minus, hyphen, em/en dash. It's easy to type and it makes practically no difference in meaning or legibility. I refuse to waste my time differentiating between multiple variations of a short horizontal line with a few pixels more or less. Ain't nobody got time for that.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by gabeidx on Saturday March 29, 2025 @04:38AM (#43513845)
By the same logic, why bother with capital letters then?
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by lioeters on Saturday March 29, 2025 @04:54AM (#43513915)
Legibility. Same with punctuation marks.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by theelous3 on Thursday March 27, 2025 @06:25PM (#43498913)
Throwing my hat in here. The sub millimeter difference in the length of a dash conveys no additional meaning or clarity. It is impossible to argue me out of this position.

It's not like you can reliably write these consistently by hand either without going over the top in length to make it extremely obvious.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by miltonlost on Thursday March 27, 2025 @06:37PM (#43499031)
Length of breath/pause with a longer dash. Read some -- Emily Dickinson poems – you'll find a world ––– of meaning ––– in the millimeter.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by theelous3 on Thursday March 27, 2025 @07:10PM (#43499309)
I have read her in the past and can't say there were world's of meaning between -'s. Can you link an example? I looked again and couldn't see any obvious ones. Generally she just completely abused the -. Does she even use a comma once? lol
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by efilife on Thursday March 27, 2025 @07:38PM (#43499540)
worlds. world's would indicate that a world owns something.

Also, you can just write -s instead of -'s as the apostrophe indicates possession

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by pc86 on Friday March 28, 2025 @10:38AM (#43505989)
Exactly the type of comment I'd expect to see on an HN discussion about different types of dashes.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by handoflixue on Friday March 28, 2025 @12:19AM (#43501496)
Poetry routines breaks grammar rules. A lot of poems rely on very specific white space layouts that you'd never see in writing.

And your example shows how you can just use multiple dashes instead of having three different ones.

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

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by MindBeams on Friday March 28, 2025 @08:00AM (#43504280)
This sort of anti-intellectualism is the perfect antidote for those who claim that improper grammar is nothing more than evidence of language "evolving."
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by Aardwolf on Friday March 28, 2025 @10:39AM (#43506004)
I think many grammar rules are not intellectual but just randomly evolved conventions.

E.g. some English language rule says that a comma or ending period of a non-quoted sentence goes inside the quotes if there's something quoted at the end of that sentence. That rule feels anti-intellectual to me, as if there's some misunderstanding of how hierarchical placement in one-dimensional space works (since something that's not being quoted is being put inside quotes)

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by NegativeLatency on Friday March 28, 2025 @02:57PM (#43508838)
Spelling used to be more fluid and up to the writer/printer. Printers would also use different spellings as a mechanism to change the line width and otherwise format text to their liking.

https://www.ruf.rice.edu/~kemmer/Histengl/spelling.html

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by milesrout on Friday March 28, 2025 @04:33PM (#43509577)
That "rule" is the rule in America but not elsewhere. Please break it. It is stupid.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by theelous3 on Friday March 28, 2025 @05:15PM (#43509866)
What is more intellectual about wanting to complicate the language for one reason, versus wanting to simplify it for another?
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by harrall on Friday March 28, 2025 @10:58AM (#43506293)
Em dashes don’t convey much meaning or clarity for me.

Rather, seeing too short of a dash is like putting two clashing colors together or wearing two pieces of clothes that don’t match. It just looks instantly off.

It’s just not aesthetically pleasing for me.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by fernandotakai on Thursday March 27, 2025 @06:34PM (#43499001)
uh, really?

i really like using em dashes -- for some reason, it feels "better" in my head than using something like a comma or a semi-colon.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by RandallBrown on Friday March 28, 2025 @02:43AM (#43502263)
Then why didn't you use an em dash?
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by fernandotakai on Friday March 28, 2025 @06:04AM (#43503477)
you can use double dashes to symbolize an em-dash (i prefer to using an actual em-dash, which is option+shift+- in macos).

https://en.wikipedia.org/wiki/Dash#Approximating_the_em_dash...

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by jeroenhd on Thursday March 27, 2025 @10:31PM (#43500834)
I take this advice like "do not use a preposition to end a sentence with" and "pay close attention to 'much' and 'many'". Personal preferences from the 1800s taken as gospel by grammatical extremists, to the point where they're taken as some kind of solid rule in a vain attempt to forcefully shape language to a personal preference.

There are cases when you want to follow certain guidelines, for sure. If you write for a publication that adheres to Meriam-Webster, you'd better stay consistent and figure out the right AltGr code to type the right dashes. However, for the 99.99% of written media today, none of that matters.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by milesrout on Thursday March 27, 2025 @10:53PM (#43500998)
Ending sentences with prepositions is and had always been fine. It has never been a serious rule of grammar that you may not end a sentence with a preposition. It does sometimes make a sentence sound better to rewrite it so that it doesn't end with one though. For example, "do not use a preposition to end a sentence with" sounds awkward to my ears, probably because you deliberately crafted the sentence to end with a preposition even though that is not naturally what you'd end that sentence with. (The previous sentence doesn't sound awkward to me, interestingly.)

Getting "much" and "many" right is completely different. They mean different things. Confusing them makes you sound stupid. Less vs fewer is the same. It often doesn't matter but in some cases it really grates on the ears (eg "there wasnt much people there" just sounds awful).

Dashes are not in the same category. They are orthographical conventions. They aren't really grammar. They are more like spelling. You can spell things wrong and say it doesn't matter because spelling is arbitrary and you can use the wrong dashes too, but it makes you look either uncaring or ignorant. If you want to give a good first impression, learn the basic conventions of written English and follow them.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by MindBeams on Friday March 28, 2025 @08:03AM (#43504308)
"Much" and "many" are not interchangeable:

"I have too many water in the cup."

"How much people are in attendance?"

These sound obviously incorrect.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by Starlevel004 on Friday March 28, 2025 @10:09AM (#43505632)
> Personal preferences from the 1800s taken as gospel by grammatical extremists, to the point where they're taken as some kind of solid rule in a vain attempt to forcefully shape language to a personal preference.

This is also true of "less" and "fewer". I use "less" everywhere.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by milesrout on Thursday March 27, 2025 @10:47PM (#43500943)
i refuse to care about this lowercase letters are all i will ever use i see no possible reason to use the other symbols

Suit yourself, but if you refuse to learn basic grammar you will be treated like you are stupid and uneducated. Like it or not, presentation matters. Getting the basics right, including things like spelling, grammar, etc, shows a basic attention to detail without which your services will likely do more harm than good.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by mvdtnz on Thursday March 27, 2025 @11:14PM (#43501124)
The various dashes are not "basic grammar" they are for pedants to argue amongst one another while the rest of the world just gets thing done.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by handoflixue on Friday March 28, 2025 @12:25AM (#43501523)
> etc,

actually it's "etc."

(I wouldn't usually be a pedant, but if you think the difference between "--" and "—" matters, you should probably try to get the basics right too.)

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by milesrout on Friday March 28, 2025 @03:28AM (#43502523)
Wrong. Look at any dictionary. Etc is completely fine. What next, are you going to pretend you write N.A.S.A. or Mr. White? Come on
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by MindBeams on Friday March 28, 2025 @08:05AM (#43504325)
>Mr. White

As opposed to what, exactly?

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by milesrout on Friday March 28, 2025 @04:20PM (#43509492)
Mr White, which is correct English. I believe Americans might put a dot after these abbreviations, but nobody else does.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by handoflixue on Friday March 28, 2025 @11:10AM (#43506435)
https://www.merriam-webster.com/dictionary/etc. - even the URL has the period, and I did in fact look this up before replying :)

https://www.merriam-webster.com/dictionary/etc even redirects to the correct URL with a "."

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by milesrout on Friday March 28, 2025 @04:19PM (#43509483)
Merriam-Webster is an American dictionary and therefore totally irrelevant to me.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by handoflixue on Sunday March 30, 2025 @10:12PM (#43530035)
You said "look at any dictionary", so I did. I notice you can't provide a link to a single dictionary that supports you, or even name what dialect supposedly doesn't have "etc."
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by zamalek on Friday March 28, 2025 @11:52AM (#43506927)
Etc. is an abbreviation for etcetera. Correctly signifying contractions, abbreviations, and acronyms is far more commonplace than using the correct dash. Almost everyone would have learned about shortening words in high school; many people leave university without ever having heard of an em dash.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by milesrout on Friday March 28, 2025 @04:28PM (#43509540)
Etc is also an abbreviation of et cetera. Only Americans put pointless dots everywhere.

This is all stuff you learn in school. Punctuation isn't obscure or niche. You may not have learnt about semicolons or em dashes in school but you should have and I did. As did anyone that has ever read a novel. There are two semicolons on the first page of the first Harry Potter book, a novel read by approximately every child of my generation. There are loads of examples of the proper use of dashes and other "obscure" punctuation marks in any professionally typeset text.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by zamalek on Friday March 28, 2025 @04:48PM (#43509684)
> Only Americans

I was raised and educated in Africa, specifically the GCSE curriculum. I was taught to use etc.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by nosrepa on Saturday March 29, 2025 @01:01PM (#43516888)
I prefer &c
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by quanloh on Friday March 28, 2025 @01:39AM (#43501907)
me too, do not think it makes a different in actual writing, like handwriting.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by grey413 on Friday March 28, 2025 @05:46AM (#43503357)
En dashes, I'll grant you, are pointless. Those can go away.

However, em dashes are a different case. The main reason why it's desirable to use em dashes (beside convention) is for clarity of purpose. The hyphen is already a very overloaded character; they're extensively used to denote ranges and link compound words. Importantly, both of those usages do not correspond to pauses in spoken language. If you're voicing a hyphen you're supposed to barrel on through it. An em dash is much closer to a parenthesis, comma, or semicolon. It's a meaningful break in the sentence, in the way that a hyphen isn't.

Now, if it were up to me I'd choose a different character to replace em dashes (maybe underscores), but that's a separate argument.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by krupan on Friday March 28, 2025 @10:29AM (#43505885)
Just use two dashes. Or like you said, use parentheses, commas, or semi-colons
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by grey413 on Friday March 28, 2025 @12:04PM (#43507063)
Two dashes are fine, the other options have different literary functions than em dashes, and shouldn't generally be used as replacements.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by account42 on Friday March 28, 2025 @08:05AM (#43504331)
Real monsters use a signle dash but with a wider font.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by tejohnso on Friday March 28, 2025 @09:44AM (#43505366)
Yeah, trying to get people to take Em vs En vs Hyphen seriously is a fool's errand. Only typography nerds would take it seriously and there just aren't enough of them to make a difference. I'd guess that the vast majority of people have never even heard of these distinctions.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by Hnrobert42 on Friday March 28, 2025 @11:42AM (#43506816)
I don’t care about the length of the mark, but I did find this idea useful. Prone to excessive detail, I often find myself with a parenthetical inside of parenthetical. The developer in me insists on 2 closing parentheses. But it looks weird and nerdy. Although, using an em dash instead is probably just as nerdy.

> Dashes are used inside parentheses, and vice versa, to indicate parenthetical material within parenthetical material. ...

> The bakery’s reputation for scrumptious goods (ambrosial, even—each item was surely fit for gods) spread far and wide.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by LinuxAmbulance on Friday March 28, 2025 @01:18PM (#43507883)
Long live the parenthetical!

I wish it was more popular, it neatly indicates meaning so very well.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by zamalek on Friday March 28, 2025 @11:46AM (#43506857)
This is coming from someone who can only speak English: what a stupid language. How is having 3 symbols that are discernible only by their, almost identical, length a good idea? How would one grade a paper for correct usage, especially if handwritten?

I agree with you completely.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by knallfrosch on Friday March 28, 2025 @03:41PM (#43509215)
And that is why noone will remember your name.