Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Somewhat related, the leaderboard of em-dash users on HN before ChatGPT:

https://www.gally.net/miscellaneous/hn-em-dash-user-leaderbo...





I have used a dash - like that for almost 20 years, 100% of the time I ought to use a semi-colon and about half of the time for commas - it let's me just keep talking about things, the comma is harder pause. I've recently started seriously writing at a literary level, and I have fallen in love with the em dash - it has a fantastic function within established professional writing, where it is used often - its why the AI uses it so much.

They should include users who used a double hyphen, too -- not everyone has easy access to em dashes.

That would false positive me. I have used double dashes to delimit quote attribution for decades.

Like this:

"You can't believe everything you read on the internet." -- Abraham Lincoln, personal correspondence, 1863


That's literally a standard use of em-dash being approximated by a double hyphen, though.

Does AI use double hyphens? I thought the point was to find who wasn't AI that used proper em dashes.

Anytime I do this — and I did it long before AI did — they are always em dashes, because iOS/macOS translates double dashes to em dashes.

I think there may be a way to disable this, but I don’t care enough to bother.

If people want to think my posts are AI generated, oh well.


> Anytime I do this — and I did it long before AI did — they are always em dashes

It depends if you put the space before and after the dashes--that, to be clear, are meant to be there--or if you don't.


What, no love for our friend the en-dash?

- vs – vs —


I once spent a day debugging some data that came from an English doc written by someone in Japan that had been pasted into a system and caused problems. Turned out to be an en-dash issue that was basically invisible to the eye. No love for en-dash!

Similar.

Compiler error while working on some ObjC. Nothing obviously wrong. Copy-pasted the line, same thing on the copy. Typed it out again, no issue with the re-typed version. Put the error version and the ok version next to each other, apparently identical.

I ended up discovering I'd accidentally lent on the option key while pressing the "-"; Monospace font, Xcode, m-dash and minus looked identical.


This issue also exists with (so called) "smart" quotes.

Which, the iOS keyboard “helpfully” uses for you.

Pretty much the first thing I turn off on a new laptop (it's in the keyboard settings on iOS too.)

Especially when you're sending some quick scratch code in a slack message.

I cannot remember ever reading a book where there was a space around the dashes.

Technically, there are supposed to be hair spaces around the dashes, not regular spaces. They're small enough to be sometimes confused for kerning.

Em dashes used as parenthetical dividers, and en dashes when used as word joiners, are usually set continuous with the text. However, such a dash can optionally be surrounded with a hair space, U+200A, or thin space, U+2009 or HTML named entities   and   These spaces are much thinner than a normal space (except in a monospaced (non-proportional) font), with the hair space in particular being the thinnest of horizontal whitespace characters.

https://en.wikipedia.org/wiki/Whitespace_character#Hair_spac...

Typographers usually add space to the left side of the following marks:

    : ; ” ’ ! ? / ) ] } * ¿ › » @ ® ™ ℓ ° ¡ ' " † + = ÷ - – —
And they usually add space to the right of these:

    “ ‘ / ( [ { > ≥ < ≤ £ $ ¢ € ‹ « √ μ # @ + = ÷ - – —
https://www.smashingmagazine.com/2020/05/micro-typography-sp...

1. (letterpress typography) A piece of metal type used to create the narrowest space. 2. (typography, US) The narrowest space appearing between letters and punctuation.

https://en.wiktionary.org/wiki/hair_space

Now I'd like to see how the metal type looks like, but ehm... it's difficult googling it. Also a whole collection of space types and what they're called in other languages.


That depends on the language — whereas German puts spaces around —, English afaik usually doesn’t.

Similarly, French puts spaces before and after ? ! while English and German only put spaces afterwards.

[EDIT: I originally wrote that French treats . , ! ? specially. In reality, french only treats ? and ! specially.]


In German you use en-dashes with spaces, whereas in English it’s em-dashes without spaces. Some people dislike em-dashes in English though and use en-dashes with spaces as well.

In English, typically em-dashes are set without spaces or with thin spaces when used to separate appositives/parentheticals (though that style isn't universal even in professional print, there are places that aet them open, and en-dashes set open can also be used in this role); when representating an interruption, they generally have no space before but frequently have space following. And other uses have other patterns.

In British English en-dashes with spaces is more common than em-dashes without spaces, I think, but I don't have any data for that, just a general impression.

> whereas in English it’s em-dashes without spaces

Didn't know! Woot, I win!

Why does AI have a preference for doing it differently?


French doesn't put one before the period.

french does "," and "." like the british and germans the rest is space befor space after

There is also the difference in using space around em-dashes.

Oof, I feel like you'll accidentally capture a lot of getopt_long() fans. ;)

Excluding those with asymmetrical whitespace around might be enough

Double-hyphen is an en-dash. Triple-hyphen is an em-dash.

Double hyphen is replaced in some software with an en-dash (and in those, a triple hyphen is often replaced with an em-dash), and in some with an em-dash; its usually used (other than as input to one of those pieces of software) in places where an em-dash would be appropriate, but in contexts where both an em-dash set closed and an en-dash set open might be used, it is often set open.

So, it’s not unambiguously s substitute for either is essentially its own punctuation mark used in ASCII-only environments with some influence from both the use of em-dashed and that of en-dashes in more formal environments.


Apparently, it's not only em-dash that's distinctive. I've went through comments of the leader, and spot he also uses the backtick "’" instead of the apostrophe.

Just to be clear this is done automatically by macOS or iOS browsers when configured properly.

Never happened to me. And I'm using Mac and iPhone.

I (~100 in the leaderboard, regardless of how you sort) also frequently use ’ (unicode apostrophe) instead of ' :D

Amazing! But no love for en dashes?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: