Hacker News new | ask | show | jobs
by WovenTales 3090 days ago
I love dashes. I do tend to avoid ems for parenthetical remarks – for those, I'll use spaced ens – but I do definitely use the longer for interjections and (roughly) semicolons, as the article describes. Where I break from convention is that, if they're marking an interjection or other interruption, I will put a space in on a single side of the dash— like so —to better demarcate the logical flow. Then again, I also put a thin space before exclamation points, etc. if I can (though unlike French, nothing if I just have full spaces), so I have other reasons to dismiss the complaints about style.
1 comments

I realise this is nothing more than my opinion, but I have to tell you that asymmetric spacing around a dash looks awful.
Thanks for that, actually! You're the first to comment on the aesthetics rather than the "incorrect" usage. My thinking is that the dashes are part of the pragmatics of the primary, wrapping phrase, and don't actually interact with the inner one—they are therefore bound to the first and separate from the second. Whether or not it's a good look, the fact that doing so much better signposts the parenthetical makes it worth it, right? And that spacing rule is actually almost the same as with ellipses, though I'm definitely with you on that taking a while to look good to me as well.

Do you think it's just being unused to that layout, or is there some deeper issue to how it looks?

There's a lot in what you say. Not crazy at all. They only looked awful for about 10 seconds hehe. But sure, using them to help show the meaning is a good idea. I've recently learnt to write a = b*c + d, spacing assisting clarity. Carry on, I support you in your chosen mission.