frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

AI is right about em-dashes

https://joeldueck.com/ai-is-right-about-em-dashes.html
12•freediver•1y ago

Comments

mattl•1y ago
Yeah I never used them before I worked at the FSF. The FSF used the Chicago Manual of Style.
neom•1y ago
Joel is a great guy who apparently loves the em dash. Personally, I find them particularly annoying, pedantic, and always have. Just use a comma, when I'm reading something with an em dash it's always unclear to me exactly how long I should pause, especially when reading aloud..., how dramatic...?!
damhsa•1y ago
a short dash - with spaces around it - is clearly a punction mark, not a word-joiner. what nonsense! anyway, you can not expect everyone to use 4 or more different key combinations depending what style they want. the only solution is to make firefox, word, etc choose the right dash for word-joining, punctuation, minus, number ranges, etc. somewhat similar to how they can choose the width of spaces in justified text.
dragonwriter•1y ago
> a short dash - with spaces around it - is clearly a punction mark, not a word-joiner. what nonsense!

That's not a "short dash", it is a hyphen with spaces around it (more precisely, an ASCII hyphen-minus, but that's really a hyphen that is overloaded in contexts where a proper typographic minus sign isn't available.) There are shorter dashes than the em-dash, one of which (the en-dash) is the normal print alternative for some uses of the em-dash, set open (with spaces) where the em-dash would be set closed (without spaces).

Also, both hyphens and en-dashes are used as word joiners in different contexts; this is not distinct from punctuation but a form of punctuation.

> anyway, you can not expect everyone to use 4 or more different key combinations depending what style they want.

For very informal writing, sure, people are often, according to their own personal comfort, going to be sloppy and approximate punctuation (heck, they are going to do that with spelling quite often.)

> the only solution is to make firefox, word, etc choose the right dash for word-joining, punctuation, minus, number ranges, etc.

Some apps have tools that automatically handle simple cases, but...it's not simple for software to figure out what your intent is and subsitute the correct punctuation mark (the are all punctuation). The actual solution is, as for other less common punctuation marks to accept that there's going to be lots of variation and substitution of easier-to-access characters in informal writing, while recognizing what is correct and maintaining it in formal contexts. But also recognizing that people that know what they are doing and know their tools are going to often use the correct ones in informal contexts, as well.

damhsa•1y ago
it is a dash. you could use an em dash - or a 2em dash - but this dash is probably shorter than 1em - unless like me you have a monospace font. if it can be a hyphen-minus, it can be a hyphen/minus/dash. and that is what it is, because that is how it is used, ASCII be damned. the english language and its typography is beholden to neither ASCII™ nor UNICODE™.
dragonwriter•1y ago
The hypen/minus/<various dashes> distinction long predates ASCII (much less Unicode), conflation between them is a product of ASCII with some contribution from the limitations of mechanical typewriters, the distinction isn't an imposition from ASCII onto the English language.
jasonthorsness•1y ago
I use a plugin[1] on my blog that automatically translates ‘--‘ or ‘---‘ into em or en dashes. I did not see it coming that now my articles will look AI-written :p

Edit: just discovered iOS keyboard input also does this when you type multiple hyphens

1 - https://daringfireball.net/projects/smartypants/

Why growth harder to find: good ideas aren't rare but harder to share

https://www.nber.org/papers/w35182
1•oliculipolicula•2m ago•0 comments

Wouter van Oortmerssen on Surviving in Early Access and Escaping Minecraft

https://report.wand.com/interviews/voxray-voxile-interview
1•mikelabatt•4m ago•0 comments

Inference, Diffusion, World Models, and More – YC Paper Club [video]

https://www.youtube.com/watch?v=wE1ZgJdt4uM
2•frenchmajesty•4m ago•0 comments

Guess what, lawmakers? The Runtime Is the Regulator

https://www.mikehyland.com/blog/ai-governance-zero-trust-runtime
1•mjhyl•5m ago•0 comments

Ask HN: Which Induction Cooktops Have the Best User Experience (UI/UX)?

1•evolve2k•6m ago•0 comments

Be the First to Test It

1•carlostkd•7m ago•0 comments

AI Is the Best Thing to Happen to Security

https://badshah.io/blog/ai-is-the-best-thing-to-happen-to-security/
1•ilreb•8m ago•0 comments

Ask HN: Who here would agree to replace parliaments with LLMs?

1•julienreszka•8m ago•0 comments

A new metadata engine for high performance Object Storage (not LSM, not B+ tree)

https://fractalbits.com/blog/metadata-engine-for-our-object-storage-from-lsm-tree-to-fractal-art/
2•rustshellscript•10m ago•0 comments

Ask HN: What would you say to Elon Musk on his 55th birthday TODAY?

3•vantareed•11m ago•2 comments

I built Stack Overflow Tech Trends to visualize 15+ years of tag popularity

https://verpad.vercel.app/so-trends.html
1•sheelagay•12m ago•0 comments

Twitter Search Filters

https://twitter.com/berryxia/status/2070392620359315484
3•aurenvale•15m ago•0 comments

GT America

https://www.gt-america.com/
1•toilet•17m ago•0 comments

PSR J1748−2446ad spins at 24% of the speed of light at it's equator

https://en.wikipedia.org/wiki/PSR_J1748%E2%88%922446ad
1•Jimmc414•18m ago•0 comments

Why prediction markets aren't popular

https://worksinprogress.co/issue/why-prediction-markets-arent-popular/om
3•latentframe•26m ago•0 comments

Security News This Week: LastPass Users Had Their Data Stolen–Again

https://www.wired.com/story/security-news-this-week-lastpass-users-had-their-data-stolen-again/
3•joozio•33m ago•0 comments

Show HN: React Router V8 integration for LinguiJS

https://github.com/ws-rush/lingui-rr
3•ws-rush•34m ago•0 comments

Show HN: Core-1 – A distributed C++ AGI framework for trillion-parameter scale

https://github.com/Sarkar-AGI/Core-1
3•Rahul-sarkar•34m ago•0 comments

Show HN: Better Graphs – Teach agents to stop making plain Matplotlib slop

https://temataro.github.io/better-graphs/
5•tem_alThor•42m ago•1 comments

Finding It Challenging to Maintain Software Created with Coding Agents?

6•nlpnerd•49m ago•1 comments

Yes, Europe's heat waves are deadlier than American gun violence

https://fortune.com/2026/06/26/heat-death-europe-ac-american-gun-violence-climate-change-hot-summer/
10•m_mueller•54m ago•0 comments

Pentagon Sees Bigger Role for AI in Setting Military Targets

https://www.bloomberg.com/news/articles/2026-06-25/pentagon-sees-broader-role-for-ai-in-setting-m...
3•yurivish•58m ago•0 comments

AI Assistant for Amazon

https://chromewebstore.google.com/detail/ai-assistant-for-amazon/ohpekhndmbmkpdoikmphbmdpailacjeo
2•aniruddhaikhar•1h ago•0 comments

Clean Code: Second Edition Critique

https://bugzmanov.github.io/cleancode-critique/
3•bmacho•1h ago•1 comments

GitHub's new "search bar" sucks

3•kromerless•1h ago•0 comments

Show HN: Added SaaS Explainer Video Template in Clickcast.tech

https://www.clickcast.tech/template-editor
2•clickcasttech•1h ago•0 comments

Aileadgenr.com – AI lead generation tool for finding potential B2B customers

https://aileadgenr.com/en
2•kilincarslan•1h ago•0 comments

Show HN: Ultrasonic 3D motion capture (Orientator)

https://hackaday.io/project/205963-ultrasonic-3d-motion-capture-orientator
2•optimized75•1h ago•0 comments

The Waffle Shop Downstairs

https://zhenyi.gibber.blog/the-waffle-shop-downstairs
2•zhenyi•1h ago•0 comments

Google caps Meta's Gemini use as AI demand strains capacity

https://www.ft.com/content/c5d52f72-71ef-40bc-bad3-61afdba8b378
3•uxhacker•1h ago•0 comments