Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-)
by rmunn on Friday March 28, 2025 @10:29AM
(#43505892)
I mentioned that as an advantage in one of my other comments. An advantage both ways, because it depends on preference. I have the same preference as hansvm: I would rather see the dangling dash at the end of the line, so I prefer putting spaces around the dashes. Having the entire word-dash-word structure move to the next line feels ugly to me. As with most things, de gustibus non est disputandum. (And also, quidquid Latine dictum sit altum videtur).
[ Parent
| on HN ]
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-)
by chipotle_coyote on Friday March 28, 2025 @11:59AM
(#43507004)
It's the dangling dash at the beginning of the line that gets me. I see a lot of word break algorithms, including the one WebKit (and I suspect Blink) uses, which are happy to break "foo—bar" on either side of the em dash.