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

You can type "--" in most writing software and it will turn into an em-dash. On a Mac, this includes TextEdit by default, or literally every text input field if you enable the "smart dashes" setting. I can type — right now in my web browser with two presses on my ordinary laptop keyboard and no memorizing character ID numbers, not exactly rocket science.

If you're using Word or other fancy word processors, you don't even have to type two hyphens. One will do, and it looks at the grammar and changes to the correct type of dash for you automatically.

Have all the people parroting "dash means it was written by ChatGPT" never used a word processor?





> Have all the people parroting "dash means it was written by ChatGPT" never used a word processor?

Probably not, this is "HACKER" News, if I type two n-dashes on a website, I EXPECT two n-dashes, otherwise things like HTML comments would break the page.

<!-- This is a HTML comment for your reference -->


As a hacker, you should have heard of the Compose key, or maybe of Ctrl+K in Vim.

The compose key and Ctrl+K in Vim both assume the use of Linux, or janky 3rd party software. Compose is the same argument I have already covered with Windows, you need to enter a cryptic key-combination into the keyboard, which is not intuitive.

As for the Vim argument, I'm struggling to work out how to use Vim to type on here? Perhaps you could shed some light? I suppose you could yank-put it, but I fail to see how that is less effort than copy-paste, the other argument I already covered.


Why would you write to n-dashes? HTML comments use hyphens.



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

Search: