News for hackers. Stuff that matters.
Re:Punctuation Matters: How to use the en dash, em dash and ... by akho on Sunday March 12, 2023 @01:32PM (#35123209)
Your message is somehow undermined by your use of “--” in place of “—”.
Re:Punctuation Matters: How to use the en dash, em dash and ... by c22 on Sunday March 12, 2023 @02:12PM (#35123883)
No it isn't--double-hypens are a great alternative to an em dash and are interpreted as such by many people and some software. GP's argument is for the grammatical functionality of differentiating dashes, not the specific symbols used.

That said, I don't use en dashes, if I want my numbers to line up I use a fixed-width font.

Re:Punctuation Matters: How to use the en dash, em dash and ... by dragonwriter on Sunday March 12, 2023 @04:02PM (#35125464)
That’s a reason not to use figure dashes, which aren’t the same thing as en-dashes.
Re:Punctuation Matters: How to use the en dash, em dash and ... by akho on Sunday March 12, 2023 @04:22PM (#35125713)
I find it unlikely that the comment was typed on a typewriter, or sent over a teletype. Computers and phones make it easy to type em-dashes if you want to do that. No sub-par alternatives are needed.
Re:Punctuation Matters: How to use the en dash, em dash and ... by ilyt on Sunday March 12, 2023 @04:24PM (#35125747)
> No it isn't; double-hypens are a great alternative to an em dash and are interpreted as such by many people and some software. GP's argument is for the grammatical functionality of differentiating dashes, not the specific symbols used.

Use ;

Works just fine

Re:Punctuation Matters: How to use the en dash, em dash and ... by dragonwriter on Sunday March 12, 2023 @04:27PM (#35125792)
> Use ;

Comma, not semicolon, is the usual alternative to em-dashes for setting off asides, semicolons set off independent clauses.

Re:Punctuation Matters: How to use the en dash, em dash and ... by ghaff on Sunday March 12, 2023 @05:56PM (#35126807)
Semicolons are often better just replaced by periods. I sometimes use them but I've had at least one editor who refused to use them for news-oriented copy.
Re:Punctuation Matters: How to use the en dash, em dash and ... by quietbritishjim on Sunday March 12, 2023 @06:16PM (#35127014)
Not sure if a deliberate joke but those are two independent clauses so should've used a semicolon :-) (between "asides" and "semicolons")
Re:Punctuation Matters: How to use the en dash, em dash and ... by mock-possum on Tuesday March 14, 2023 @02:58AM (#35148209)
Did you know double dash is treated as one single longer than normal dash by default in iOS?

This character ‘—‘ looks like one long dash to me, even though I typed the dash button twice. What’s even crazier is if I type four dashes ‘——‘ it still looks like one even longer dash; even six ‘———‘ is a solid line, and I can delete it by pressing the backspace button once

I have no idea how to get my phone to display two short dashes side by side: ‘--‘ maybe I can fake it by puttin an emoji in between, knowing that hackernews will filter it out. Let’s see what happens.

Edit - ooh that totally works. I’d never really paid attention to how this feature worked before.

Re:Punctuation Matters: How to use the en dash, em dash and ... by akho on Tuesday March 14, 2023 @05:29AM (#35149056)
I did, hence my other comment in this thread — proper dashes are easy.

“--” can also be input on iOS by entering “- -” and then deleting the space. Or you can disable the “Smart punctuation” setting and type what you actually mean.