logoalt Hacker News

mpyne • today at 2:37 PM • 3 replies • view on HN

They are typographically the right thing to have been using all along.

Using ' and " to pretend to be ‘/’ or “/” is on par with the typewriter days where people would use the l key to stand in for 1 also. A justifiable approximation when technology limitations prevented using the real deal, but an approximation all the same.


Replies

dmd • today at 4:12 PM

In fact, if we had been using left and right quotes from the beginning in shells, most “quoting problems” go away, as they’re all inherently rooted in not being able to know what level of nesting a quote character is at.

➕ show 1 reply
airstrike • today at 6:43 PM

Can't that be handled by the typesetting/rendering software and displayed appropriately regardless of which specific character was typed?

➕ show 1 reply
Dylan16807 • today at 2:50 PM

Except l has a specific meaning that isn't 1, while the entire purpose of ' and " is quoting (and apostrophe).

The equivalent of l for 1 is doing font-specific pseudo smart quotes with ` and '

➕ show 2 replies