News for hackers. Stuff that matters.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by KPGv2 on Friday March 28, 2025 @12:16AM (#43501463)
space, minus, space is on the same level as manually typing two spaces after a period
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by lxgr on Friday March 28, 2025 @12:29AM (#43501539)
How so? One is the only way to approximate an en or em dash on a typewriter or in a charset that doesn’t have one, the other seems like a workaround of a typesetting bug at best.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by Propelloni on Friday March 28, 2025 @05:43AM (#43503339)
-, --, --- is, IIRC, how it is done in LaTex and would be exceedingly simple to do on a typewriter. That being said, to break up sentences I use " -- " because I think it looks nicer than "---". I'll go now ;)
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by lxgr on Friday March 28, 2025 @08:14AM (#43504419)
LaTeX is a markup language though, not ASCII art. I can get behind two dashes as a substitute if no en dash is available, but three seems too much and looks like halfway to a horizontal line to me ;)
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by rahimnathwani on Friday March 28, 2025 @12:35AM (#43501579)
Until ~10 years ago, I used to type two spaces after a period.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by Daneel_ on Friday March 28, 2025 @01:24AM (#43501836)
I still do, and I maintain that it’s easier to read text with double spaces after periods.
Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by _emacsomancer_ on Friday March 28, 2025 @04:08AM (#43502768)
TeX puts more space after periods/fullstops (which is why you're supposed to do special markup or other measures to mark '.' in the middle of sentences which aren't sentence-enders (e.g. like e.g.)). But it's generally smaller than the equivalent of two manual spaces.

(A nice thing in (La)TeX is that one could follow the "two spaces after a full-stop" rule, which then has the advantage of being an explicit marking for sentence boundaries (which your editor might be able to navigate; Emacs has a convention of assuming two spaces after a sentence-ending '.'), but then the TeX typesetting will take care of making it look right. I lost the habit of actually doing this, for better or worse, except when flycheck/checkdoc/package-linter.el makes me do it for docstrings.)

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by globnomulous on Friday March 28, 2025 @08:10AM (#43504381)
I used to feel similarly. Now I find the double space a visual distraction that doesn't in any way improve readability.

The effect of the double space is, I suspect, a product of the reader's expectations: if you expect it, its absence creates mental work, detracting from readability; if you don't expect it, its presence is what creates mental work.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by asveikau on Friday March 28, 2025 @12:55PM (#43507593)
I'm still doing it when I am typing at a physical keyboard. Hard habit to break. I learned it so long ago too.

You can tell when I've edited something on both a phone and a physical keyboard, based on the inconsistent use of spaces.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by rahimnathwani on Friday March 28, 2025 @01:00PM (#43507659)

  Hard habit to break. I learned it so long ago too.
Haha I learned to type organically, and it was only in my mid-40s that I retrained myself to type the correct way. It took something like 40 hours of practice on keybr.com before I could get close enough to my regular typing speed, such that I could switch over to the 'correct' method without it impacting my work.

Retraining myself to stop doing double-spaces took maybe a week.

Re:How to Use Em Dashes (–), En Dashes (–), and Hyphens (-) by kevin_thibedeau on Friday March 28, 2025 @02:40PM (#43508675)
Most word processors can be configured to flag double spaces. That gives feedback to break the habit.