Story Details

  • How to Use Em Dashes (–), En Dashes (–), and Hyphens (-)

    Posted: 2025-03-27 20:19:38

    Em dashes (—) are versatile and primarily used to indicate a break in thought—like this—or to set off parenthetical information. They can also replace colons or commas for added emphasis. En dashes (–) are shorter than em dashes and mainly connect ranges of numbers, dates, or times, like 9–5 or January–June. Hyphens (-) are the shortest and connect compound words (e.g., long-term) or parts of words broken at the end of a line. Use two hyphens together (--) if you don't have access to an em dash or en dash.

    Summary of Comments ( 104 )
    https://news.ycombinator.com/item?id=43497719

    HN users generally appreciate Merriam-Webster's explanation of em and en dash usage. Some find the spacing rules around em dashes overly pedantic, especially in informal writing, suggesting that as long as the dash stands out, the spacing is less crucial. A few commenters discuss the challenges of typing these dashes efficiently, with suggested keyboard shortcuts and text replacement tools mentioned for macOS and Linux. One commenter points out the increasing trend of using hyphens in place of both en and em dashes, expressing concern that proper usage might be fading. Another highlights the ambiguity created by different coding styles rendering en/em dashes visually identical, leading to potential misinterpretations for developers.