Opus 5 doesn't use em-dashes in code comments - Lalit Maganti
I’ve been using Opus 5 as my main coding for the last few days 1, and I<br>noticed something odd: the code comments stopped using em-dashes; everything is<br>double hyphens (--) now.<br>Instead of going off a gut feeling, I decided to actually run some checks.<br>agentsview indexes all my conversations into a SQLite<br>database, so this kind of question is just a query away. Here’s the chart:
Seems pretty clear to me! But you might say “maybe it’s not the model, maybe<br>it’s something else”.<br>Well actually the cleanest evidence came from a session where I switched from<br>Fable to Opus 5 mid-conversation and didn’t touch anything else. Looking at<br>just that session, Fable produced 11 em-dashes in comments. Opus 5 produced 36<br>double hyphens. I didn’t touch anything else.<br>What I find genuinely strange is that this only affects code comments. My chat<br>replies still have just as many em-dashes as ever. So maybe something was<br>tweaked when training for code-generation in particular?
Enjoyed this post? Follow along on<br>Bluesky,<br>X, or<br>Mastodon,<br>or subscribe for new posts by email or RSS.<br>Or share this post on Hacker News.
Or keep reading on a related topic:<br>Eight years of wanting, three months of building with AI<br>For eight years, I’ve wanted a high-quality set of devtools for working with SQLite. Given how important SQLite is to the industry, I’ve long been puzzled that no one has invested in building a really good developer experience for it. A couple of weeks ago, after ~250 hours of effort over three months on evenings, weekends, and vacation days, I finally released syntaqlite (GitHub), fulfilling this long-held wish. And …
I don’t like Opus 5 but I ran out of tokens for Sol, Deepseek raised their<br>prices and Fable is just too slow (and I don’t particuarly like it<br>either!)… ↩︎