News for hackers. Stuff that matters.
Re:Regarding the Em Dash by anjbe on Sunday January 07, 2018 @03:09AM (#16089850)
Pretentious? Come on. There’s nothing inherently wrong with spacing your em dashes. It’s even part of the AP style guide.

I personally wrap them in thin spaces (U+2009), except in fixed‐width fonts, where I use an en dash with full spaces instead.

Re:Regarding the Em Dash by jacobolus on Sunday January 07, 2018 @06:51PM (#16093545)
The AP is a poor source for a typographic style guide. They are a wire service not professional typographers, and my speculation is that their conventions come from a context of typewriter manuscripts rather than properly typeset books. They eschew en dashes and use hyphens to indicate ranges (e.g. 10-20 instead of 10–20) – something no professional typographer would condone – because they are expecting someone with a typewriter to only be able to type hyphens, whereupon the choice is either one hyphen or two. So in a manuscript you get spaces around pairs of hyphens -- like so -- standing in for dashes. Their style guide is designed so that someone doing the newspaper typesetting can directly copy the typewritten manuscript over to the press without thinking about what kind of dash to use.
Re:Regarding the Em Dash by vostok on Sunday January 07, 2018 @03:44AM (#16089938)
In fixed-width fonts, do you literally use an en dash (U+2013) or do you use hyphen-minus (U+002D)?
Re:Regarding the Em Dash by anjbe on Sunday January 07, 2018 @03:49AM (#16089945)
I use UTF‐8 except when I have reason to stick to ASCII. (One such situation is public mailing lists, where people’s misconfigured mail clients constantly butcher any non‐ASCII characters when replying.)