News for hackers. Stuff that matters.
Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Sunday March 12, 2023 @06:41AM (#35118574)
Oh this is easy.

m dash: --

n dash: -.

.. I take it few people find morse code puns funny anymore.

Re:Punctuation Matters: How to use the en dash, em dash and ... by frizlab on Sunday March 12, 2023 @06:57AM (#35118663)
An example from the article:

Looks good: “Sometimes writing for money—rather than for art or pleasure—is really quite enjoyable.”

Unreadable: “Sometimes writing for money-rather than for art or pleasure-is really quite enjoyable.”

Yes, punctation does matter. (In French the em-dash is almost inexistant; we use parenthesis instead usually.)

Re:Punctuation Matters: How to use the en dash, em dash and ... by yardstick on Sunday March 12, 2023 @07:07AM (#35118732)
Just add spaces. Sorted.

“Sometimes writing for money - rather than for art or pleasure - is really quite enjoyable.”

Re:Punctuation Matters: How to use the en dash, em dash and ... by greenicon on Sunday March 12, 2023 @07:23AM (#35118839)
In German that’s the way it’s done: en-dash with spaces, em-dashes (basically) don’t exist.
Re:Punctuation Matters: How to use the en dash, em dash and ... by FabHK on Sunday March 12, 2023 @07:30AM (#35118902)
However, it is the en-dash, properly, rather than the hyphen. I quite like that punctuation.

Now, anyone typing random texts to a friend or a few need not care, but I think people that write in a professional capacity to more than a few people should know and care.

Re:Punctuation Matters: How to use the en dash, em dash and ... by atoav on Sunday March 12, 2023 @07:29AM (#35118896)
I use em dashes with spaces in German (and English) all the time — I just like it better and don't care about arbitrary rules and traditions.
Re:Punctuation Matters: How to use the en dash, em dash and ... by r2222 on Sunday March 12, 2023 @10:07AM (#35120188)
Yea em dash with spaces looks better to me too, I find that it’s harder to read if the em dash is there without surrounding spaces. Looks too cramped, not separated enough.
Re:Punctuation Matters: How to use the en dash, em dash and ... by Chris_Newton on Sunday March 12, 2023 @12:41PM (#35122356)
I have never understood the classical rule of no spaces around em-dashes. If you’re going to use fancy dashes at all, an em-dash represents a clear pause, a break in thought — something more robust than a mere comma. Typesetting an em-dash sometimes literally touching the words on either side has the opposite effect, visually connecting those words rather than separating them, and unlike a lot of the typographical snobbery we sometimes engage in, that one is a well-known (at least to designers) effect of proximity. Personally I prefer a thin space rather than a full one in media where it’s possible, purely for cosmetic reasons, but I’d rather have a normal space than none.
Re:Punctuation Matters: How to use the en dash, em dash and ... by zelphirkalt on Sunday March 12, 2023 @07:59AM (#35119100)
I think that is not really true? There is the "Gedankenstrich" and one can see it in texts. Or do you mean, that it is so rare, that German language almost does not use it? I think that depends on the writer.
Re:Punctuation Matters: How to use the en dash, em dash and ... by greenicon on Sunday March 12, 2023 @01:14PM (#35122891)
Yes, and the Gedankenstrich is usually set as en-dash with spaces around, only rarely as em-dash. See https://de.wikipedia.org/wiki/Halbgeviertstrich#Gedankenstri...
Re:Punctuation Matters: How to use the en dash, em dash and ... by masswerk on Sunday March 12, 2023 @09:51AM (#35120007)
Hum, a hyphen is still an entity of its own (it may be even a short, slanted dash in some fonts), then there's the en-dash for association (e.g. "ZDF – Zweites Deutsches Fernsehen"), and there's the "Gedankenstrich", which performs more like a separator. Three typographical entities to express three different concepts. (But there's a tendency of mixing the en-dash with spaces and the "Gedankenstrich", as the latter also comes with surrounding spaces, which may appear overly exaggerated in some fonts.)
Re:Punctuation Matters: How to use the en dash, em dash and ... by greenicon on Sunday March 12, 2023 @01:19PM (#35122968)
Sure. As far as I‘m aware the Gedankenstrich is usually set as en-dash with spaces in German, though [1].

1: https://de.wikipedia.org/wiki/Halbgeviertstrich#Gedankenstri...

Re:Punctuation Matters: How to use the en dash, em dash and ... by knert on Sunday March 12, 2023 @07:15AM (#35118785)
This is what I do. I don’t see the problem here. I don’t see the need to adopt additional characters.
Re:Punctuation Matters: How to use the en dash, em dash and ... by TheOtherHobbes on Sunday March 12, 2023 @11:52AM (#35121572)
It's a tradition from hand-set paper print which is now largely obsolete.
Re:Punctuation Matters: How to use the en dash, em dash and ... by kimburgess on Sunday March 12, 2023 @08:00AM (#35119101)
En space, em space, three-per-em space, four-per-em space, six-per-em space, figure space, punctuation space, thin spare, hair space, ideographic space, or Ogham space?
Re:Punctuation Matters: How to use the en dash, em dash and ... by alpaca128 on Sunday March 12, 2023 @08:30AM (#35119307)
I have written and read text for decades without knowing the difference between those, so whatever space one gets when pressing the spacebar seems to do the job just fine. And if in doubt LaTeX etc will handle the rest well enough if I care about sub-pixel precision of some margins.
Re:Punctuation Matters: How to use the en dash, em dash and ... by IncRnd on Sunday March 12, 2023 @08:40AM (#35119397)
Since I am now a hyper-hyphen-partisan-pundit after reading that blog post - I'd like to comment on your hyper-hyphenated comment.

> “Sometimes writing for money - rather than for art or pleasure - is really quite enjoyable.”

To me this looks like a case of the corrective comma.

“Sometimes writing for money, rather than for art or pleasure, is really quite enjoyable.”

Re:Punctuation Matters: How to use the en dash, em dash and ... by ant6n on Sunday March 12, 2023 @10:01AM (#35120121)
Your first sentence should also use a comma rather than the wrong dash.
Re:Punctuation Matters: How to use the en dash, em dash and ... by IncRnd on Sunday March 12, 2023 @01:01PM (#35122709)
That's why I used the dash...
Re:Punctuation Matters: How to use the en dash, em dash and ... by c22 on Sunday March 12, 2023 @02:32PM (#35124177)
The way I was taught, you use the comma for a brief aside--em dashes are used for a larger diversion (and parenthesis are for the most tenuous connections.)

In other words a reader should be able to skip reading the contents of parenthesis with negligible impact on the context or meaning of the sentence. They should be able to skip reading the contents of em-dash-seperated text without changing the meaning of the sentence. And text between commas should be considered integral to the sentence, while secondary to the primary gist.

Re:Punctuation Matters: How to use the en dash, em dash and ... by IncRnd on Sunday March 12, 2023 @02:53PM (#35124486)
What you reference is that commas are used to set off non-restrictive clauses, where the meaning of the sentence is clear without the additional clause. Though, the non-restrictive clause provides additional description of a word in the main sentence.

Such as:

Sometimes writing for money, rather than for art or pleasure, is really quite enjoyable.

Other than that, many people have come up with many writing styles. We mostly seem to be able to understand each other, so we are "all good".

Re:Punctuation Matters: How to use the en dash, em dash and ... by eternalban on Sunday March 12, 2023 @03:42PM (#35125195)
“Sometimes writing for money - I have other aims besides art or pleasure - is really quite enjoyable.”
Re:Punctuation Matters: How to use the en dash, em dash and ... by tines on Sunday March 12, 2023 @08:46AM (#35119441)
Spaces can cause word wrap that can leave a dash at the end or beginning of a line, which is not beautiful. A spaceless em dash is more legible and doesn't have the wrapping issues. You could argue that that's a problem with word wrap algorithms, not punctuation, but that situation is not going to change any time soon.
Re:Punctuation Matters: How to use the en dash, em dash and ... by sethammons on Sunday March 12, 2023 @08:54AM (#35119510)
Is this the yardstick from The Grid? If so, hope all is well :) (and if not, I also hope all is well)
Re:Punctuation Matters: How to use the en dash, em dash and ... by yardstick on Sunday March 12, 2023 @10:25AM (#35120406)
Sorry that’s not me, but thanks for the well wishes and I hope all is well for you too!
Re:Punctuation Matters: How to use the en dash, em dash and ... by gnull on Sunday March 12, 2023 @09:10AM (#35119656)
Em-dashes add a bit of a pause. And having them longer and taking a bit more of horizontal space makes it more intuitive. They also break a sentence into parts. Having them easily distinguishable helps navigate text and reduces overhead. Just like periods or paragraph breaks help you see parts of a text, or syntax highlighting helps you see lexemes in a program.

Using just one dash for everything will be readable in a text message or comment. But not in a (complicated) book, because there the benefit of these small things gets multiplied by the scale of the book.

Re:Punctuation Matters: How to use the en dash, em dash and ... by throw0101c on Sunday March 12, 2023 @10:06AM (#35120179)
> They also break a sentence into parts.

IMHO, this is the main determination on when I decide to use em-dashes: is the text between them an aside of some kind? An alternatives would be to use parentheses.

Personally I do not find that " - " as the GP suggests enough of a visual cue as "—". And on macOS using different dashes is fairly straight-forward:

* hyphen: the key next to zero, "-"

* en-dash: alt/option-"-": –

* em-dash: shift-alt/option-"-": —

Some apps (e.g. Mail) auto-convert double-"-" into an em-dash as well.

Re:Punctuation Matters: How to use the en dash, em dash and ... by gnull on Sunday March 12, 2023 @06:07PM (#35126935)
Good to see OSX people thought about this.

On Linux, one needs to enable Compose key (keyboard layout settings). After that, you get default sequences like --. and --- for en- and em-dashes.

Re:Punctuation Matters: How to use the en dash, em dash and ... by Findecanor on Sunday March 12, 2023 @10:10AM (#35120219)
A common substitution for emdash is -- which are two hyphens with spaces around them.

Personally, I think two hyphens also looks better than just one, and it conveys that you really intended it to mean emdash rather than hyphen.

Re:Punctuation Matters: How to use the en dash, em dash and ... by computerfriend on Sunday March 12, 2023 @11:07AM (#35120894)
This is similar to how it's typeset in TeX as well: two for en, three for em.
Re:Punctuation Matters: How to use the en dash, em dash and ... by EGreg on Sunday March 12, 2023 @12:32PM (#35122205)
I have used two hyphens, but I appreciated text editors collapsed them into an (em-) dash.

Hyphens are simply for connected-words while dashes are -- for better of worse -- to make asides.

Re:Punctuation Matters: How to use the en dash, em dash and ... by vitus on Sunday March 12, 2023 @01:00PM (#35122681)
> Personally, I think two hyphens also looks better than just one

It's context-dependent. (Aside: you wouldn't write "context--dependent", which is the use case of the hyphen.)

Ostensibly the en dash is primarily used for ranges, although that's a case where I'm inconsistent. I won't typically write "A - Z" or the technically correct "A–Z", as I think in that case I tend to write "A-Z", using a simple hyphen. I certainly won't write "A -- Z".

The em dash is even wider—it's not typically mistaken for a hyphen.

Re:Punctuation Matters: How to use the en dash, em dash and ... by c22 on Sunday March 12, 2023 @02:21PM (#35124018)
Sometimes I write A->Z.
Re:Punctuation Matters: How to use the en dash, em dash and ... by flint on Sunday March 12, 2023 @10:52AM (#35120690)
yup
Re:Punctuation Matters: How to use the en dash, em dash and ... by jameshart on Sunday March 12, 2023 @12:38PM (#35122316)
If you’re going to do that, en dashes look nicer (as explained in the article):

“Sometimes writing for money – rather than for art or pleasure – is really quite enjoyable.”

Re:Punctuation Matters: How to use the en dash, em dash and ... by EchoReflection on Sunday March 12, 2023 @07:57PM (#35128455)
Or commas (?). "Sometimes writing for money, rather than for art or pleasure, is really quite enjoyable."
Re:Punctuation Matters: How to use the en dash, em dash and ... by askvictor on Sunday March 12, 2023 @07:29AM (#35118898)
I disagree that the first example looks good. Both cases would be better with spaces, which kind of renders the em dash unnecessary.
Re:Punctuation Matters: How to use the en dash, em dash and ... by ghaff on Sunday March 12, 2023 @08:27AM (#35119286)
Some places I write for use the em-dash with spaces and some without. I try to remember which is which but I often forget.
Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Sunday March 12, 2023 @07:04AM (#35118711)
The "unreadable" sample is very much readable. We can all read it. No one is tripping up trying to figure out what a "money-rather" is.
Re:Punctuation Matters: How to use the en dash, em dash and ... by floodle on Sunday March 12, 2023 @07:10AM (#35118753)
Not for me. It's readable, but my brain has to do more work. When I get to "money-rather" my brain trips up slightly, and then I'm confused until the next dash, then I go back and figure it out.

All possible and dealt with in under a second, but in the first example with the longer dash my brain recognises a parenthesis and I take a little "breath pause" before carrying on.

Re:Punctuation Matters: How to use the en dash, em dash and ... by zelphirkalt on Sunday March 12, 2023 @08:01AM (#35119108)
Also consider, that eye movement is not always linear from left to right. But I agree, brain has to do more work and it is slightly confusing.
Re:Punctuation Matters: How to use the en dash, em dash and ... by OGWhales on Sunday March 12, 2023 @02:17PM (#35123946)
I can read it, but it definitely trips me up.
Re:Punctuation Matters: How to use the en dash, em dash and ... by dmm10 on Sunday March 12, 2023 @08:58AM (#35119539)
Others have mentioned using spaces with an en-dash or hyphen instead of an em-dash. Having used a typewriter -back in the day- I learned to produce text like this.

How I learned the Unreadable: “Sometimes writing for money -rather than for art or pleasure- is really quite enjoyable.”

To the teacher I learned from this was a standard way of punctuating on a typewriter.

Re:Punctuation Matters: How to use the en dash, em dash and ... by ghaff on Sunday March 12, 2023 @10:20AM (#35120339)
I use em-dashes and parentheses somewhat differently but you can mostly substitute the latter for the former.
Re:Punctuation Matters: How to use the en dash, em dash and ... by seszett on Sunday March 12, 2023 @10:36AM (#35120514)
> In French the em-dash is almost inexistant; we use parenthesis instead usually.

The only French-speaking place I've seen em-dashes used in daily life was Québec. For some (good) reason, it seems administration took a lot of care in using correct typography. My voting district for example was Mercier–Hochelaga-Maisonneuve (the first dash being an en-dash, and the second one a hyphen) and I was always amazed at how all communication actually used these two different dashes.

I can't imagine this level of care in French or Belgian official communication.

Re:Punctuation Matters: How to use the en dash, em dash and ... by wlonkly on Sunday March 12, 2023 @07:59PM (#35128487)
(By way of explanation, the parent commenter's voting district covered the Mercier and the Hochelaga-Maisonneuve neighbourhoods.)
Re:Punctuation Matters: How to use the en dash, em dash and ... by miramba on Sunday March 12, 2023 @10:55AM (#35120725)
It‘s not unreadable, just a tad more difficult. And as others have pointed out, there are other ways of making it easier again than using a specific character. But the real point is: The information transported in both examples did not change its meaning and will be understood by the reader / receiver in both cases. If it‘s not, it matters. As long as it is, it‘s pedantic.
Re:Punctuation Matters: How to use the en dash, em dash and ... by dsego on Sunday March 12, 2023 @11:06AM (#35120877)
Right, the dash length seems more of an aesthetic choice, like a drop cap or something.
Re:Punctuation Matters: How to use the en dash, em dash and ... by biztos on Sunday March 12, 2023 @11:12AM (#35120965)
Looks better: “Sometimes writing for money — rather than for art or pleasure — is really quite enjoyable.”

Punctuation matters, but space -- the "zeroth punctuation mark" -- matters more!

The author does discuss spacing the dashes but is, given the overall point of the article, surprisingly noncommittal.

Re:Punctuation Matters: How to use the en dash, em dash and ... by ehsankia on Sunday March 12, 2023 @11:28AM (#35121194)
Wouldn't the alternative rather be to use commas there, not a hyphen?

"Sometimes writing for money, rather than for art or pleasure, is really quite enjoyable."

In your head, do you read those differently?

Re:Punctuation Matters: How to use the en dash, em dash and ... by jameshart on Sunday March 12, 2023 @12:42PM (#35122387)
Personally, I think this sentence would benefit from a comma before the ‘or’. And in that case we could probably benefit from a clearer way of setting aside the parenthetical.

“Sometimes writing for money, rather than for art, or pleasure, is really quite enjoyable.”

– this seems awkward to me. This version, though:

“Sometimes writing for money—rather than for art, or pleasure—is really quite enjoyable.”

Isn’t that more fluid?

Re:Punctuation Matters: How to use the en dash, em dash and ... by noizejoy on Sunday March 12, 2023 @02:36PM (#35124238)
> “Sometimes writing for money, rather than for art, or pleasure, is really quite enjoyable.”

I think that changes the meaning, since it’s now a list of 3 items with an Oxford comma, rather than two lists, with the first list having 1 item, and the second list having 2 items. And I’m having a rough time even making sense of such revised meaning.

Expressed as pseudo-code, I read the original intent of that sentence as:

“money and not(art or pleasure) == enjoyable”

and that can be broken into

“((money and not art) or (money and not pleasure)) == enjoyable

Re:Punctuation Matters: How to use the en dash, em dash and ... by 83457 on Sunday March 12, 2023 @11:47AM (#35121495)
I just use commas or parens.
Re:Punctuation Matters: How to use the en dash, em dash and ... by jameshart on Sunday March 12, 2023 @12:03PM (#35121750)
Having multiple options for how to offset parenthetical asides, far from being redundant (or even confusing), offers us—as writers and readers—more opportunities to express the tonal variations (or nuances) that we would – in spoken language – communicate through our voice and body language; moreover it lets us vary the visual, aesthetic quality of our prose – which is as much a part of the experience of reading as comprehension is.
Re:Punctuation Matters: How to use the en dash, em dash and ... by wholinator2 on Sunday March 12, 2023 @12:16PM (#35121971)
Is this a written excerpt from a text book or something? This single sentence makes more sense than many of the arguments I've seen previously.
Re:Punctuation Matters: How to use the en dash, em dash and ... by jameshart on Sunday March 12, 2023 @12:35PM (#35122256)
Nah, it’s just a deliberate hodge-podge of a sentence where I threw in every subclause I could to try to illustrate the point.
Re:Punctuation Matters: How to use the en dash, em dash and ... by lencastre on Sunday March 12, 2023 @11:50AM (#35121545)
Also in Portugal, just use parenthesis (like when you would insert an idea into a sentence) and it still reads fine.
Re:Punctuation Matters: How to use the en dash, em dash and ... by nephanth on Sunday March 12, 2023 @12:49PM (#35122501)
> In French the em-dash is almost inexistant; we use parenthesis instead usually.

French uses em-dashes ("tiret cadratin") or en-dashes ("tiret semi-cadratin") for dialogue. Like so:

– bonjour, dit-elle, comment allez vous?

– bonsoir, repondit-on. Ça va ça vient, et vous?

– bien

Re:Punctuation Matters: How to use the en dash, em dash and ... by ghaff on Sunday March 12, 2023 @08:26AM (#35119276)
Arguably there's a place for both an em-dash and a hyphen. (For your example, a hyphen would be pretty normal style anyway.) But in a world where double quotes is a massively overloaded punctuation mark we probably don't need an en-dash at least.
Re:Punctuation Matters: How to use the en dash, em dash and ... by mannykannot on Sunday March 12, 2023 @08:40AM (#35119396)
The article is not actually very pedantic - at one point, the author encourages us to break the rules - and I feel it has been offered in the sense of "printers have developed these variations on the basic dash, and if you choose to use them, it is probably best to use them in the same sense as printers themselves do."
Re:Punctuation Matters: How to use the en dash, em dash and ... by gnull on Sunday March 12, 2023 @09:01AM (#35119569)
Reminds me of this guy I met at a CTF. He decided that punctuation generally is unnecessary. What's the use of having so many different symbols if the only thing they denote is pauses between words.

so when he wrote something . he used only periods to denote pauses . no other punctuation symbols . no capital letters . some people were thinking that his periods stand for perl concatenation operators . i dont know if he is still doing this . i hope he stopped

Re:Punctuation Matters: How to use the en dash, em dash and ... by dredmorbius on Sunday March 12, 2023 @09:20AM (#35119741)
Writing is a recorded symbolic convention for the benefit of the sufficiently educated reader.

Eschewingallpunctuationforscriptocontinuaisofcourseppossiblethoughitishelltoread.Itisevendifficulttotypewithoutaddingthespacesreflexivelyifindasipostthis.

<https://en.wikipedia.org/wiki/Scriptio_continua>

There's a reason monks of old read aloud. It was about the only way to confirm the actual meaning of a text.

Re:Punctuation Matters: How to use the en dash, em dash and ... by c22 on Sunday March 12, 2023 @02:46PM (#35124391)
Ucnevndrpsmevwlsandstllmkesmthgrdblbutbrly.
Re:Punctuation Matters: How to use the en dash, em dash and ... by dredmorbius on Monday March 13, 2023 @12:12AM (#35130960)
brylrnr'ydnsdrwkcbttrwdnslwvhtprD

(Bass-ackwards hint: "Arabic" expresses poorly when vowels are excluded.)

Re:Punctuation Matters: How to use the en dash, em dash and ... by sundarurfriend on Sunday March 12, 2023 @11:49AM (#35121533)
actually i kinda love that . punctuation is semi arbitrary anyway . and this is actually much easier to read than the usual literary english full of semicolons and dashes . mimics speech much better too .
Re:Punctuation Matters: How to use the en dash, em dash and ... by jameshart on Sunday March 12, 2023 @12:15PM (#35121947)
I think it mimics a certain kind of speech.

Some people do talk like that . All complete thoughts . Sequential.

Other people—and I very much count myself among them—have a less linear, more tree-like mode of expression; where the ideas, instead of building on what came before, are being laid out out of order – the ideas aren’t completed – and more complex punctuation is needed to establish the relationships between those thoughts.

It sounds like I’m saying the former is less sophisticated than the latter. I don’t think that’s true.

I think we should probably try to express our ideas in a way that doesn’t require out-of-sequence reasoning. Short, simple sentences. With clear meanings. Building on one another. Much easier to follow.

The tree-like mode of endless nested parentheticals and asides is just a rendering of an incomplete thought process.

Not better or more sophisticated. Just still in progress.

Re:Punctuation Matters: How to use the en dash, em dash and ... by 6th on Monday March 13, 2023 @10:55PM (#35146789)
Probably scored a. sweet gig. writing lines. for. Captain. Kirk.
Re:Punctuation Matters: How to use the en dash, em dash and ... by dredmorbius on Sunday March 12, 2023 @09:17AM (#35119718)
In several significant computer typography systems, the notation for an en dash is a doubled hyphen (--), and for an em dash a tripled one (---). Notably LaTeX and Markdown (Pandoc flavoured: <https://pandoc.org/MANUAL.html>).
Re:Punctuation Matters: How to use the en dash, em dash and ... by bee_rider on Sunday March 12, 2023 @09:36AM (#35119884)
In LaTeX I’ve been using \textemdash instead. I don’t actually know why, just, usually these sort of longer names tend to have some niche edge case they handle better.

em-dashes and parenthetical should be used sparingly so it isn’t too annoying to do all the extra typing.

Re:Punctuation Matters: How to use the en dash, em dash and ... by dredmorbius on Sunday March 12, 2023 @11:46AM (#35121477)
My preference is for spare markup where at all possible. Less typing, less mental overhead, clearer source text.

If it's necessary to be explicit for clarity and proper rendering, then sure. But otherwise, the less friction the better.

After years of procrastinating in learning LaTeX (the Lion Book turned out to be a clear, delightful, and highly useful reference), one of the pleasant surprises was that paragraphs are simply denoted by two carriage returns. After years of hand-coding HTML where matching <p> and </p> tags (among many others) was a constant occupational hazard, this was just ... pleasing.

Markdown has a similar philosophy, if a far more restricted set of capabilities. That set is however sufficient for a tremendous number documents, and if it's ultimately insufficient still remains a useful way to get started with writing.

Re:Punctuation Matters: How to use the en dash, em dash and ... by teo_zero on Sunday March 12, 2023 @01:36PM (#35123262)
Probably you know this, but you don't actually need to close every <p> with a </p>.
Re:Punctuation Matters: How to use the en dash, em dash and ... by dredmorbius on Monday March 13, 2023 @12:22AM (#35131021)
I've been through enough different HTML variants whilst not having to adhere strictly to standards that I'm moderately fuzzy what the current state of the standard is. I hear the current standard is also ... large.[1]

But even if it's not strictly necessary to balance <p> tags ... it is necessary to do so with many other HTML elements, and missing or mis-typed tags can utterly bork a page, particularly if there's any complexity to it.

(Hand-crafting tends to minimise that complexity, but it's still possible to get reasonably twisted.)

That said, checking one of my favourite HTML5 references, whose page source itself is a beautiful example of clean HTML ... I see that Mark Pilgrim in fact omits the close tags on his paragraphs:

<view-source:http://diveintohtml5.info/introduction.html>

And that said: LaTeX and Markdown also omit the need for the opening paragraph tag. So there's that.

Still, fair point ;-)

________________________________

Notes:

1. Drew DeVault has suggested as much: <https://drewdevault.com/2020/03/18/Reckless-limitless-scope....>

Re:Punctuation Matters: How to use the en dash, em dash and ... by greggyb on Sunday March 12, 2023 @09:27AM (#35119801)
Of course, we do use compound numbers in English.

A very common example is in threads for machined screw threads, e.g., 1/4-20. This is not a range of numbers spanning from 0.25 to 20.0, but rather a pair of numbers that define two metrics of a single thing, which combine to uniquely identify the thread.

Perhaps context is sufficient, but adding this to your examples gives us at least three scenarios where the single symbol would mean very different things with pairs of numbers: compounding, subtraction, and numerical ranges. If we add on the clause separation duties of the dashes mentioned in the article, we have four uses where a single symbol sits between two numbers and means entirely different things.

Re:Punctuation Matters: How to use the en dash, em dash and ... by thfuran on Sunday March 12, 2023 @09:54AM (#35120046)
But apparently only insufferable pedants care about clarity. That's why we should stop using those pointless number glyphs too and just write them out in unary using hyphens. -/------------------------- is just fine.
Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Sunday March 12, 2023 @02:44PM (#35124370)
.... -.-- .--. .... . -. ... .- -. -.. .--. . .-. .. --- -.. .. ... .- .-.. .-.. .. -. . . -..
Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Sunday March 12, 2023 @02:28PM (#35124119)
There's no shortage of mathematical notation and delimiting characters. Eg you could write your machine screws as .25+20i. Obviously you raise e to the power of your screw and you get a rotation rate in the complex plane, and a width of screw in the complex plane as well.

Compounding and numerical ops are basically never confused. Machine screw is the only one of these where its even plausible. Not that subtraction and range are ever ambiguous, but if they were just use "#1 - #n" to denote "the numbers 1/n being used as labels for some range of options, not as a numerical values".

All in all, we have plenty of characters. A minimal set of rules, minimal set of characters, rich in predictable patterns, is what makes for a good language. The existence of a whole slew of specialized characters, all basically indistinguishable and frankly unheard of to most, has to work hard to justify itself right to live on my keyboard. We have parenthesis, commas, colons both full and partial, brackets square and curvy, braces, slashes forward and back...More than enough permutations and code space for anyone's expressive needs. Why anyone would opt for more byzantine characters with more rules on top is beyond my imagination.

Re:Punctuation Matters: How to use the en dash, em dash and ... by greggyb on Sunday March 12, 2023 @07:37PM (#35128218)
Then certainly we should remove those superfluous brackets. Commas suffice for parenthetical asides. Sentences already imply grouping. I am a bit upset at your use of double quotes above. After all, we have the single quote, which consumes half as many valuable pixels and does just as good a job of indicating quotation. Colons of any level of completion merely separate clauses, a task more than thoroughly covered by commas and periods. Context is, of course, a great disambiguator, so I see no reason to use any statement terminator besides a period. What possible confusion could arise.

While we are at it, we have so many words. Perhaps we should simplify to one of the several published standards of simplified English. After all, the number of combinations of a thousand words in sentences of arbitrary length is enormous. Why anyone would opt for more byzantine words with more nuanced definitions and rich history of usage, tradition, and cultural value is beyond me.

We could go on with grammar (I mean really, what the hell is pluperfect), spelling ('c', for example is useless on its own, its uses being filled alternately by k or s), fonts (wtf is a serif), capital and lowercase letters, and I am sure many other topics.

Why do we keep more words, punctuation, and other linguistic and typographical devices around than we need? A mix of inertia and legitimate uses and perceived value. It seems to me that many people seem to draw a line between what is acceptable and what is not based on whatever they are comfortable and familiar with by the time they reach the end of their schooling.

Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Sunday March 12, 2023 @10:43PM (#35130282)
I know your examples are intentionally extreme to prove a point, I'm biting anyway.

Parenthetical type grammar with an explicit start character and end character is pivotal for encoding information unambiguously. You can't replicate that with any system that uses the same characters for the start and end, because it would be ambiguous as to if you are starting a nested context or ending the present one. Double, single, and even the rare triple quote allow for nested quotation. In principle a clean open and close quotation mark would also solve this (no subtle pixel hunting). You're right that we don't truly need four redundant variations on bracketing, but reducing it to just one is probably too few as it would be representing too many possible things at once. How about one pair for a narrative context (aka a quote), one pair for linguistic recursion (like I'm doing right now), one pair for collections of objects such as a list or a set. Colons probably could be skipped, everything beyond that is strawmanning me. A certain small number of delimiters / particles / whatever are needed to have expressive completeness. You need to be able to build sequential lists, unordered lists, one of several possibility sets, and / or / not type relations. In other words, a natural language at the very least needs some sort of regex subsystem, but it need not be much more more sophisticated than regex. I'm not a grammar denialist in fact quite the opposite. I want the information coded in simple grammar rules, not ad hoc arbitrary tables continually expanding.

I say this as someone who had a 12th grade vocabulary in 5th grade and its only gone up since, vocabulary is a waste of time.

Actually, I'm almost with you on 'c', but I'd rather throw out 'k' because its one of the few that don't fit on a 7 segment display. Capital letters also don't add much information. Yes actually, I'm fine with all of those going away. I couldn't tell you why the people who design way finding signage avoid serifs like a pox, yet other design fields refuse to read without them. With or without seems to read just fine. I really don't care too much either way. Letters would be better if they all worked more like EFHLT. Right now, too many clashing elements. Some are boxy, some are round, some have sharp diagonals. I'm not saying it has to be a 7 segment design, but it would certainly be pleasing if learning the alphabet, its ordering, how to write it, could all happen much faster by just noticing a few easy repeating patterns. Yes actually, lets do language reform.

>It seems to me that many people seem to draw a line between what is acceptable and what is not based on whatever they are comfortable and familiar with by the time they reach the end of their schooling.

Well I'll agree with you there. All to often pointless pedantry comes down to "my school must be right otherwise I am wrong". Love or hate my reasoning, at least you can't accuse me of doing that.

Re:Punctuation Matters: How to use the en dash, em dash and ... by greggyb on Sunday March 12, 2023 @11:56PM (#35130814)
> Parenthetical type grammar with an explicit start character and end character is pivotal for encoding information unambiguously.

You argue against multiple types of dashes because context is sufficient, despite there being typographical ambiguity. But you insist that we must have typographically unambiguous bracket characters. I must admit that I am struggling in this conversation to determine when we can depend on context and when we need unambiguous markers. Perhaps I am just incapable of picking up on the subtle context that backs up this position of yours. (:

> everything beyond that is strawmanning me

In fact, you will find examples of real human languages that exhibit more extreme versions of the things I have suggested.

FOREXAMPLELATINWASORIGINALLYWRITTENINASINGLECASEWITHNOSPACESBETWEENWORDS SENTENCESWERESEPARATEDBYASINGLESPACE OBVIOUSLYALLOFTHEPUNCTUATIONISUNNECESSARY SOALLARGUMENTSABOUTTYPOGRAPHYOTHERTHANTHATOFFONTSAREBASEDINREALITY

There are languages with simpler tense systems than what English has. Slavic languages, for example, tend not to have a pluperfect. So, the example of removing tenses is based in reality.

Hawaiian has an alphabet of just 13 letters. So, removing letters from the 26 in the English alphabet is based in reality.

The Dictionnaire de l'Académie française is being updated to its 9th edition and is expected to have ~60K words[0], whereas English dictionaries report an order of magnitude more[1] (even with the issues in the linked source, this is a large gap). Basic English[2] has a vocabulary of less than 1,000 words (if you desire a vast overhaul of the existing norms of typography, I hope that you are at least willing to entertain prior art in the area of overhauling the use of natural language as a valid example, even if you disagree with the intention or outcome). If you wanted me to go to extremes (which again, I did not in the post you replied to), I could have just suggested we use Toki Pona. Of course, if I did suggest such a conlang, you may have been correct that I was strawmanning you and going to extremes just for a point. Nevertheless, we can definitely conclude that there are, in fact, natural human languages with substantially fewer words than modern English, and there are definitely constructed and artificially restricted natural languages with enormously smaller vocabularies.

You need not agree that these examples constitute best practice, or that they represent desirable goals in the continued evolution of language and written communication. I hope, though, that you can recognize that none of these are strawmen, but based in reality, many in natural languages, and some in artificially constrained natural languages for specific purposes. If anything, I presented examples that do not represent the extremes of any position (I could easily have brought up languages with no written representation, for example). I merely selected additional examples that conform to a broad categorization of removing stuff from modern English.

I welcome further discussion on the topic, but I worry you might dismiss things I say you disagree with, as you have done once above by ascribing an intention of strawmanning you, and as you seem wont to do with typographical conventions you dislike. And if you want to eliminate the punctuation you dislike, what might you do to a person whose arguments you dismiss? (;

It seems though, that you just don’t like the various dashes, which is totally fine. Many other people and I find value in them. Still more probably just go along because, as I said, a big part of language norms comes from inertia. The point of language (other than perhaps some, but not all, artistic expression) is communication. Why abandon the norms that facilitate this communication? Is it better to stand on preference (or perhaps principle) and harm your attempts at communication or to yield to norms and be better understood (though perhaps annoyed)? I do not know that there is a correct answer to this question.

I do hope, though, that I have disabused you of the fanciful notions that I was cherry-picking ideas that are extreme just to prove a point and that I was strawmanning your argument. I have shown above numerous examples that back up each of my suggestions, grounded in the reality of natural human languages. Further, I have shown several examples that are truly extreme to show that my original suggestions were not “intentionally extreme to prove a point.”

[0] https://www.thoughtco.com/academie-francaise-1364522 [1] https://www.merriam-webster.com/help/faq-how-many-english-wo... [2] https://simple.wikipedia.org/wiki/Basic_English

Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Monday March 13, 2023 @01:16AM (#35131400)
I don't care about multiple types of parenthesis per se, I do care about there being a spanning set of grammatical constructs. I don't think period and comma alone would be enough. You need to have constructs for compressing and abstracting. "John/Paul/Ringo/George were in the Beatles." Notice how I just made 4 sentences for the price of one. I could have written "John was in the beatles", "Paul was in the Beatles" ... all four statements fully unrolled. You need constructs which let you FOIL sentence structure just like in math class, presenting (option A, B and C) to (you, and everyone else). You also need a handful of "client server type" interaction structures. Header information. A thing to indicate if the content is a question, request, demand, greeting etc. Grammar is not about encoding literal speech pausing, its about encoding how to deserialize the linear sequence of words.

In theory you could just make "(" and ")" the universal sub-context denoting symbol. You would just need a different extra symbol to clarify between what a parenthesis means. The three systems makes sense. One for data agnostic compression like a JSON object / foiling a math expression, one for relaying text itself as an object in the domain of discussion rather than as the thing being said (aka a "quotation"), and one for scopes that are part of the discussion per se (not quotation).

Context suffices when the parts of speech have no chance of being in the same slot. Compound words and numbers.. your machine screw example was pretty rare. I think the dashes are too specialized in meaning and too hard to tell apart to justify code points in the docs and buttons on my keyboard. If need be, distinguish the various flavors of hyphen with some rule about touching the letter or having two in a row. Our symbol set is reasonable. Not as succinct as Hawaiian, not so bloated as Chinese. 13 chars fits in 4 bits. 26 chars fits in 5. With great strain you can maybe find a workable set of grammatical symbols without blowing past 32 chars, but will probably end up using a 6th. I'm against bloating the raw number of symbols and rules everyone has to rote learn, not dashes in particular. If its already in frequent use like all the paren styles then fine, but lets not make anything worse than it has to be.

Re:Punctuation Matters: How to use the en dash, em dash and ... by greggyb on Monday March 13, 2023 @12:22PM (#35137894)
> Grammar is not about encoding literal speech pausing,

This is absolutely correct.

> its about encoding how to deserialize the linear sequence of words

This is absolutely incorrect. Grammar is the collection of rules that prescribes the combination of words to make valid collections of the same in a language. Specifically, grammar is distinct from semantics, which is concerned with meaning. A nonsense statement may be grammatically correct.

Punctuation is the collection of non-character glyphs that are used to capture the nuances of spoken language into a written form.

Punctuation is orthogonal to grammar.

Put more briefly: spoken language has grammar and no punctuation; written language has the same grammar as the same spoken language and also punctuation.

Parenthetical asides are represented in spoken language with some combination of marker words, pauses, tone of voice, word choice, and perhaps other indicators I may have forgotten. The purpose of punctuation is to lend some of the nuance of spoken communication to the otherwise sparse written word.

The argument of the number of bits to encode glyphs is also orthogonal to the purpose or usefulness of language, writing, and communication. Computers are tools. A keyboard should justify the paucity of its glyphs, rather than the other way around. Once we get here, we are in the realm of pure opinion and preference, which I don't have much interest in pursuing.

Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Monday March 13, 2023 @03:02PM (#35140752)
> A nonsense statement may be grammatically correct.

I'm sure then you already know, colorless green ideas sleep furiously.

I see no contradiction in what you are calling incorrect. At some point whatever representation our brain uses for concepts and thoughts, to share that object requires us to pack into a linear sequence of words which can then be reliably unpacked by on the other side. The very nature of verbal communication forces the existence of serialization/deserialization rules. Those rules are what we call grammar. Grammar may be somewhat orthogonal to semantics, as you observe it is possible to encode valid nonsense, but the grammar exists to encode semantics and is thus to some degree tied to it. The grammar rule of "subject verb object" doesn't only tell you how to check the validity of "colorless dreams sleep furiously", it tells you how to deserialize that sentence back into a hierarchy tree of constituents and their relations. It just so happens to unpack as an object of useless constituents and impossible relations.

Punctuation maybe orthogonal to grammar in the general case, but in this particular language they are highly coincident. Virtually all punctuation marks are grammatical particles. It doesn't have to be like this. Some languages have "audible parenthesis" words. Others have words for marking the end of a sentence as a question. Calling punctuation marks a non character seems a bit artificial. Let's just call them the non-audible characters, in analogy with non-printable characters.

The argument about bits was apparently lost in transmission. I assure you this isn't a preference and opinion thing. Information theory applies just as well to natural language encodings as it does to computer protocols. The basic principles of information entropy and optimal transmission encoding shows up in every language: the least frequently used words are the longest. In an analysis of conversations across languages, researchers found the bit rate to be constant. Some spoken languages are seemingly very fast, but that's because the information density per word is lower. The brains bit rate is a constant. Irrespective of if we are using a computer or not, the size of an alphabet is measured in bits. The bits in the alphabet determine how much you can possibly say per character. On an extreme end, Chinese has over 5000 characters. That's around 13 bits of information per character, at the low low cost of memorizing all of them. For comparison, ignoring capitalization and punctuation, English is a 5 bit alphabet meaning the same amount of information fits into 3 letter words. The Hawaiian alphabet can cover 80% of those possibilities with just 3 letters, and the remainder with a 4th. Think about how powerful that is. Is memorizing 5000 arbitrary squiggles worth it to compress the width of words down by ~3 chars?

The number of bits that are in an alphabet also determines the minimum number of unique design elements needed to construct letters for it. 7 segment displays are a great example. As I said, our characters fit on 5 bits. That's the minimum. Now when our letters came about, they didn't know about bits and they certainly weren't doing this on purpose, but almost every letter can be expressed on a 7 segment display. In other words, writing a letter only wastes two bits per character relative to saying it.

When you learn a new ligature in an Arabic script, you've doubled the number of letters you know. When you learn a new Chinese character, you've learned a new Chinese character. Language is a transmission medium. Its a tool. My takes here are no more preference and opinion than the allocation of the radio spectrum. There's an optimization tradeoff to be had between the limited character choices of Hawaiian and the extreme rote memorization of Chinese. Going from 13 to 26 characters does double the learning time, but the learning time at that stage was short anyway. Going from what we currently have to perhaps 60ish characters (6 bits) doubles it again. Maybe that's tolerable. The next step up is a ~128 characters. There may be things you can do quicker with a large set of symbols, but the ROI for learning all those symbols doesn't pay off. Around 5 to 6 bits is where most writing systems settle.

And that's why bloating the raw glyph table with letters and marks is the wrong solution.

Re:Punctuation Matters: How to use the en dash, em dash and ... by eurasiantiger on Sunday March 12, 2023 @10:02AM (#35120130)
The em dash is syntactic sugar for a brief digression in discourse.
Re:Punctuation Matters: How to use the en dash, em dash and ... by dingbing on Sunday March 12, 2023 @11:21AM (#35121096)
> pointless rules for insufferable pedants to power trip over

The perfect topic for HN!

Re:Punctuation Matters: How to use the en dash, em dash and ... by Helmut10001 on Sunday March 12, 2023 @11:35AM (#35121305)
Depending on the audience, I think the article is justified and gives a good overview. Just thinking of scientific papers, where sometimes you spend a full year carefully laying out the words. Being concise here helps improve legibility and is definitly worth the effort.
Re:Punctuation Matters: How to use the en dash, em dash and ... by pas on Monday March 13, 2023 @05:30PM (#35143073)
... with all due respect to folks who choose the hard and extremely frustrating academic career path, the inefficiency is so absurd that it truly only can exist in these gigantic institution-sized machines. (And in similar sized corporate money-makers.)

Most papers are fundamentally flawed, unfortunately, due to lacking sufficient information and data for replication, being underpowered (and not controlling for many factors).

It took decades to get to some minimally sensible standards (preregistration, conflict of interest declarations, awareness of the most common stats issues, power analysis), but we're still far from doing effective science.

Money is still handed out based on feels, hypes, name recognition (when it's not blinded) for laughably small projects, instead of focusing on establishing longer term ones and/or improving the actual science output (ie. data and hypothesis generation) of existing ones.

(Yes, of course, academia approximates this. Yes, yes. Everything's fine. We'll have a usable model of Alzheimer's any second now! Aaany second. Just let this new totally effective model of depression/obesity/learning/ME-CFS out of the door first.)

Re:Punctuation Matters: How to use the en dash, em dash and ... by golemotron on Sunday March 12, 2023 @11:39AM (#35121373)
Without the pedantry, things can devolve to violence. Panda bears with machine guns. Horrible stuff.

- https://en.wikipedia.org/wiki/Eats,_Shoots_%26_Leaves#Title

Re:Punctuation Matters: How to use the en dash, em dash and ... by paulcole on Sunday March 12, 2023 @12:13PM (#35121919)
It reminds me of the strong feelings about Comic Sans.

The guy who created it said something like, “If you love Comic Sans you don’t know much about typography and should probably get a new hobby. And if you hate Comic Sans you don’t know much about typography and should probably get a new hobby.”

I feel the same about this. The average person has about a billion things to improve in their writing before the “correct” use of different dashes should become something they think about.

Re:Punctuation Matters: How to use the en dash, em dash and ... by krsdcbl on Sunday March 12, 2023 @01:25PM (#35123078)
I strongly disagree.

By the same logic you might as well say: "why are we even kerning fonts, who cares if there's a few gaps when i write »irl«."

The fact that using different dashes does encode meaning in a subtle sense does have relevance for semantics -- but that's, imho, almost secondary to this argument, as it's not as grammatically relevant as commas and. periods, for example.

The primary importance of using the correct dashes is that it preserves a good flow for reading and is paramount to micro-typographic balance:

- A longer dash to link words that belong together is visually perceived as an interruption and doesn't feel like those two words are one

- In reverse, a shorter dash when switching context -- or interjecting another idea within a sentence -- doesn't slow the pace of the text flow enough, and your brain will read/intonate it the same way as when linking words.

- And at last, either of them won't preserve optical balance when displaying a numerical range, as numbers are wider than a hyphen, but narrower than an em space, which would result in either insufficient visual separation compared to spaces following said numbers, or too much of an optical gap within an entity that belongs together.

That's the barebones set of dashes that are relevant for a balanced typographical appearance, not made up pedantic complexity to annoy people. Otherwise we'd be taking about half and quarter em dashes and the likes.

Re:Punctuation Matters: How to use the en dash, em dash and ... by akho on Sunday March 12, 2023 @01:32PM (#35123209)
Your message is somehow undermined by your use of “--” in place of “—”.
Re:Punctuation Matters: How to use the en dash, em dash and ... by c22 on Sunday March 12, 2023 @02:12PM (#35123883)
No it isn't--double-hypens are a great alternative to an em dash and are interpreted as such by many people and some software. GP's argument is for the grammatical functionality of differentiating dashes, not the specific symbols used.

That said, I don't use en dashes, if I want my numbers to line up I use a fixed-width font.

Re:Punctuation Matters: How to use the en dash, em dash and ... by dragonwriter on Sunday March 12, 2023 @04:02PM (#35125464)
That’s a reason not to use figure dashes, which aren’t the same thing as en-dashes.
Re:Punctuation Matters: How to use the en dash, em dash and ... by akho on Sunday March 12, 2023 @04:22PM (#35125713)
I find it unlikely that the comment was typed on a typewriter, or sent over a teletype. Computers and phones make it easy to type em-dashes if you want to do that. No sub-par alternatives are needed.
Re:Punctuation Matters: How to use the en dash, em dash and ... by ilyt on Sunday March 12, 2023 @04:24PM (#35125747)
> No it isn't; double-hypens are a great alternative to an em dash and are interpreted as such by many people and some software. GP's argument is for the grammatical functionality of differentiating dashes, not the specific symbols used.

Use ;

Works just fine

Re:Punctuation Matters: How to use the en dash, em dash and ... by dragonwriter on Sunday March 12, 2023 @04:27PM (#35125792)
> Use ;

Comma, not semicolon, is the usual alternative to em-dashes for setting off asides, semicolons set off independent clauses.

Re:Punctuation Matters: How to use the en dash, em dash and ... by ghaff on Sunday March 12, 2023 @05:56PM (#35126807)
Semicolons are often better just replaced by periods. I sometimes use them but I've had at least one editor who refused to use them for news-oriented copy.
Re:Punctuation Matters: How to use the en dash, em dash and ... by quietbritishjim on Sunday March 12, 2023 @06:16PM (#35127014)
Not sure if a deliberate joke but those are two independent clauses so should've used a semicolon :-) (between "asides" and "semicolons")
Re:Punctuation Matters: How to use the en dash, em dash and ... by mock-possum on Tuesday March 14, 2023 @02:58AM (#35148209)
Did you know double dash is treated as one single longer than normal dash by default in iOS?

This character ‘—‘ looks like one long dash to me, even though I typed the dash button twice. What’s even crazier is if I type four dashes ‘——‘ it still looks like one even longer dash; even six ‘———‘ is a solid line, and I can delete it by pressing the backspace button once

I have no idea how to get my phone to display two short dashes side by side: ‘--‘ maybe I can fake it by puttin an emoji in between, knowing that hackernews will filter it out. Let’s see what happens.

Edit - ooh that totally works. I’d never really paid attention to how this feature worked before.

Re:Punctuation Matters: How to use the en dash, em dash and ... by akho on Tuesday March 14, 2023 @05:29AM (#35149056)
I did, hence my other comment in this thread — proper dashes are easy.

“--” can also be input on iOS by entering “- -” and then deleting the space. Or you can disable the “Smart punctuation” setting and type what you actually mean.

Re:Punctuation Matters: How to use the en dash, em dash and ... by MikeTheGreat on Sunday March 12, 2023 @02:26PM (#35124097)
Thank you for the post. I still don't want to learn & spend mental energy on which of 3 different dashes to use, but now I do see why people would want to (and I think the reasoning is solid, even if I don't personally want to bother with it :) ).

You started by talking about kerning fonts, which is a great analogy.

Building on that - kerning is awesome because stuff looks better and I don't need to do anything for it to happen. Would it work to have my display system figure out which type of dash to use automatically?

Like, a dash inside a word should be short (under the assumption that you're linking the words together) and dashes with whitespace around it should be longer (under the assumption that you're switching context/injecting an idea into a sentence).

Re:Punctuation Matters: How to use the en dash, em dash and ... by ilyt on Sunday March 12, 2023 @04:23PM (#35125731)
Never really cares about anything that you're saying about how the dashes should work to imaginary group of people way into typography
Re:Punctuation Matters: How to use the en dash, em dash and ... by nirvdrum on Sunday March 12, 2023 @05:05PM (#35126283)
Then don't use them? As a reader, I certainly appreciate when people do. When writing documents or HTML I use them because it adds clarity. When typing on a web form, I'll usually use "--" because it's visually similar and much easier to type on a US keyboard. No one, pedants included, have ever tried to correct me on it.

I also use capitalization and punctuation when I type while many people do not. It'd be great if they did, since it makes reading easier and takes almost no additional effort, but I'm not going to let it ruin my day. The parent comment is about why the distinction in dashes matters and has virtually nothing to do with typography enthusiasm, but rather reader comprehension. If you don't want to integrate that information into your life, great, but that's not really a refutation. For my part, I found it interesting. Even though I use em-dashes I learned more about how they're helpful. If you don't want to use them, I'm almost positive no one is ever going to correct you.

Re:Punctuation Matters: How to use the en dash, em dash and ... by ilyt on Sunday March 12, 2023 @08:30PM (#35128868)
> Then don't use them?

I don't and; but dumb tools replace -- with em-dash which breaks shit.

> If you don't want to use them, I'm almost positive no one is ever going to correct you.

Still have to look at it and suffer consequences of dumb editors replacing -- with em-dashes when someone innocently tries to just say commandline parameter

Re:Punctuation Matters: How to use the en dash, em dash and ... by tomxor on Sunday March 12, 2023 @07:23PM (#35128029)
> you might as well say: why are we even kerning fonts [...] is paramount to micro-typographic balance [...] is visually perceived as an interruption [...] won't preserve optical balance

These are typesetters concerns, not writers concerns. They are all context sensitive tweaks to what amounts to the same glyph.

If the rules for each have as well defined contexts as the article suggests, then it sounds like something more suited to ligatures and kerning.

Full glyph replacement ligatures were not something initially supported by all font formats, so perhaps the fact that they continuing to exist as separate characters is more of a historical detail. It's something that could easily be added with new fonts though.

Re:Punctuation Matters: How to use the en dash, em dash and ... by aikinai on Sunday March 12, 2023 @08:49PM (#35128987)
Some fonts—like Inter—do this, but I see people complain that the font isn’t rendering exactly what they typed.

My favorite is that it will render 1920x1080, for example, as 1920×1080. I think the former looks terrible and unprofessional, especially when I see it in actual products rather than prose. So I really hope this catches on.

Re:Punctuation Matters: How to use the en dash, em dash and ... by speleding on Monday March 13, 2023 @09:18AM (#35135302)
Ligatures typically change the appearance of a character, they do not change the meaning. Merging the hyphen en the n-dash into the same character and then derive the correct one from the context (spaces around it) would be a whole new use of "ligatures".

From a software "separating of concerns" viewpoint it feels wrong to me to have your font renderer infer meaning. A pre-processor that replaces hyphens with the correct dash – like Word does – feels more sane to me.

Re:Punctuation Matters: How to use the en dash, em dash and ... by tomxor on Tuesday March 14, 2023 @01:56AM (#35147894)
> Ligatures typically change the appearance of a character, they do not change the meaning

Anyone can use a hyphen for all three purposes right now and people would understand the meaning, because the meaning is primarily derived from the context of surrounding glyphs. Only typesetters would complain that a subtly more appropriate glyph should be used for the purposes of refined optics and geometry etc.

Therefore an endash and emdash ligature could only change the meaning IF the context of each use case overlap. i.e if there is a valid glyph based context in which endash and emdash are both valid... which I don't think there is because that would be far too subtle.

Re:Punctuation Matters: How to use the en dash, em dash and ... by Aeolun on Sunday March 12, 2023 @08:59PM (#35129102)
I’ve gone my entire life without knowing the difference and survived just fine.

It may not be entirely irrelevant, but it’s very close to it. A bit like saying your tie has to be knotted a specific way to look respectable. Very fun for the in-group, but completely incomprehensible to those outside.

Like, I’m not opposed to having a few silly things to learn just to separate those that can be bothered to pay attention from those that do not, but I’d be hard pressed to say it’s actually relevant outside of that.

Re:Punctuation Matters: How to use the en dash, em dash and ... by viraptor on Monday March 13, 2023 @12:46AM (#35131205)
> I’ve gone my entire life without knowing the difference and survived just fine.

That is an extremely low bar. People lived their entire lives without X for any X.

Re:Punctuation Matters: How to use the en dash, em dash and ... by JohnFen on Monday March 13, 2023 @03:06PM (#35140813)
Text doesn't become unreadable when the dashes are used incorrectly, but (for me) when they're used correctly, they do make the text easier to read and digest.
Re:Punctuation Matters: How to use the en dash, em dash and ... by sixtram on Monday March 13, 2023 @12:31PM (#35138057)
Why do we stop with hyphen, n and m dash? There are at least 30 different use cases, we should not reuse only 3 versions of some short line. Let's make 30 versions, one for each meaning. (cynicism)
Re:Punctuation Matters: How to use the en dash, em dash and ... by mock-possum on Tuesday March 14, 2023 @02:52AM (#35148177)
It also looks like you’re drawing attention to something — the use of the double dashes — in making a deliberate choice to break from the norm. Whereas if you just follow the way most people use dashes - single dashes, not double - then it doesn’t really stand out, it just looks ‘normal.’ You’re used to seeing it styled that way. It feels different.
Re:Punctuation Matters: How to use the en dash, em dash and ... by the_third_wave on Sunday March 12, 2023 @02:13PM (#35123896)
...and when the discussion on whether to use [mnxyz+]-dashes has finally been sorted we can start on which font to use to render these dashes, whether they should be proportionally rendered, how to handle ligatures with dashes, to RGBA or not to RGBA dashes, hinted dashes versus unhinted dashes, the big difference between the visually identical dashes in language A versus language B, et ce.te.ra.
Re:Punctuation Matters: How to use the en dash, em dash and ... by virtualritz on Sunday March 12, 2023 @02:38PM (#35124283)
TLDR; Using the right dashes is about the UX of text. If you don't care about UX of the reader your points are sound.

I however--as a typographer--strongly disagree. Typograpy is both about beautiful typesetting as well as making sure that the information contained in the text is understood easily.

The former is obvious to me. It may not be to you but that doesn't make your reasoning right.

As an analogy, there are quite a few people among my friends & acquaintances who cook occasionally or rarely. They usually share the trait that they care more about eating than how something tastes. Bluntly spoken.

They commonly have one kind of oil in their kitchen (most often suflower) and they use it when the recipe demands "oil".

Usually recipes specify what oil to use. It may say olive oil or peanut oil or sesame oil. They won't have these oils and they don't care.

Even though the effect of using a different oil is profound on many levels (not even only taste). If you care, that is. Same with the dashes. Text looks and reads very different when those different dashes are used correctly.

Which leads to the information part. Why do we have these different dashes? They actually map to spoken language.

A hypen is used to pull things together. A word can be hypenated (should be read as if the hypen didn't exist) or two words can be pulled together (making the pause between them shorter) "ever-changing" is pronounced differently than "ever changing".

An en dash used between points in time or space conveys that. A distance. The spoken pause is usually longer.

And finally, an em dash, like a comma, conveys an even longer pause between the words it separates.

Re:Punctuation Matters: How to use the en dash, em dash and ... by IIAOPSW on Monday March 13, 2023 @12:12AM (#35130952)
I must say, truth is an absolute defense, and I'm certainly one to both value calories down the gullet crude and efficiently, and to not be terribly aware of what goes on in the font fetishizing circles (no disrespect). But I do understand information coding and that obsession over a good design. For me, its been subways and metros. I've been doing redesigns, obsessive recoloring, obsessively flipping between colors and shapes and other markers in an attempt to compress all that information down to the entropy limit. So I get it. I just don't get it with typography. Its all just letters to my viewing. Once the physical squiggle has been recognized for the abstract symbol it represents, the symbol and not the squiggle is all I remember seeing. I honestly couldn't tell you the last font I ever looked at, let alone if it had serifs or [insert typography feature, no really thats the full extent I know]. I can't say I'd ever noticed (or benefited from) a distinction between dash length. Any component of a letter under a certain length scale I mentally dismiss as likely printing dirt anyway. If it works for other people, well great and mad respect for it.

So I get it. visual design language serves a purpose. An important purpose. Its not the artful navel gazing outsiders think it is. Well, maybe some people are like that, but there really is objective purpose under it all. I'd even say I agree about rules for hyphens touching their neighbors or not. For compound words it should be a train-like-in-construction whereas in a delimiter roll like range of items it should go Boston - DC.

I just can't see having a whole dedicated set of minutely different characters fit for this purpose. I dislike it for the same reason I dislike lego sets that have a particular piece in them which isn't used for anything else in any other set and never will be. It ruins the elegance of the system. It offloads a minor design problem onto somewhere it doesn't belong (namely the character set). I want to know everything while learning as little as possible. Which is why I strive for encodings that express as much as they can with as few elements as possible.

If it were me, I'd just have '.' , '-' and '_' exist at mid, bottom and top heights and be done with it. Don't like my line length? make it whatever length you want either dotted dashed or continuous. Solves every use case, extremely composable, every permutation that should logically be there, is there. .,;:' notice anything incomplete? LHTIFE notice whats missing? qbhrnujdp damn that's frustrating. KRBPF where's the rest of the set?

Re:Punctuation Matters: How to use the en dash, em dash and ... by karmakaze on Sunday March 12, 2023 @02:44PM (#35124374)
I know the correct usages but often avoid them as it doesn't confuse the reader, but can break copy/paste usage. I can get by with ASCII hyphen/dash and double-dash for em-dash. I particularly dislike autocorrection of punctuation into more pleasing forms (e.g. smart quotes/apostrophes). This is one reason I tend to do outlining in Github issues more often than G.Docs.

Of course I'm mostly writing about computer/software topics and don't write for publications or a non-technical audience.

Re:Punctuation Matters: How to use the en dash, em dash and ... by trmsw on Sunday March 12, 2023 @03:06PM (#35124694)
Agreed! Plus with my handwriting, who's ever going to be able to tell the difference?
Re:Punctuation Matters: How to use the en dash, em dash and ... by moffkalast on Sunday March 12, 2023 @03:22PM (#35124907)
Handwriting? We don't do that here.
Re:Punctuation Matters: How to use the en dash, em dash and ... by karaterobot on Sunday March 12, 2023 @04:03PM (#35125469)
> Seriously, what's the point of this pedantry.

My takeaway wasn't that the article was being pedantic, just that it was being informative.

What's the point of punctuation? The point is that ambiguity exists in human communication. Where accuracy and precision are important — for example in formal communication — different punctuation marks and rules help prevent misunderstandings.

When engaged in less formal communication, or when the stakes of miscommunication are lower, these rules seem (as you observe) unnecessary. I think that insisting on proper syntax, spelling, grammar, or whatever else in an online forum like HN would be silly. But, internet forums aren't the entire world, and it is conceivable to me that there may be places where people need to depend on the meaning of their message being conveyed reliably.

Re:Punctuation Matters: How to use the en dash, em dash and ... by irrational on Sunday March 12, 2023 @08:30PM (#35128865)
I agree. I’m usually a stickler for punctuation and spelling, but I can barely tell the difference between these three hyphens. And that is when they are right next to each other. If they were alone in a document? There is no way I could know which is being used. If they aren’t easily distinguishable, I don’t see the point in using three separate symbols.
Re:Punctuation Matters: How to use the en dash, em dash and ... by cscurmudgeon on Sunday March 12, 2023 @08:31PM (#35128875)
agree. why many word when few do trick
Re:Punctuation Matters: How to use the en dash, em dash and ... by lwhi on Sunday March 12, 2023 @09:04PM (#35129165)
We have nice things that are free to use—I think we should use them.

There are different contextual requirements that can be served by specific typographic characters. I'd much rather see them used, than not.

I'd imagine most would feel the same‽

Re:Punctuation Matters: How to use the en dash, em dash and ... by 6th on Monday March 13, 2023 @11:16PM (#35146955)
I_for⁃one−do–not-care—what--line-thing-ies–areーused&∴I༌wish‑goodluck to those·that·care.¶