News for hackers. Stuff that matters.
Re:HN Mining or: How I Learned that there are some among us ... by TheDong on Saturday October 29, 2022 @11:21PM (#33390694)
That's incorrect.

This is a double quote: ", 0x22, ascii

This is a smart open quote: “, 0x201c, unicode

This is a smart close quote: ”, 0x201d, unicode

By default your keyboard double-quote key produces the ascii double quote mark, and that is what's used for quoting in virtually every programming language.

Word and many email clients will use smart-quotes by default, but they're pretty rare in programming, hence why the "some among us" phrasing calling them out as strange.

That's what the linked repo is referring to by soft quotes, and the command given specifically uses 0x201d above.

Re:HN Mining or: How I Learned that there are some among us ... by fuckstick on Saturday October 29, 2022 @11:55PM (#33390903)
They’re not smart quotes - they're just open and close quotation marks. What is smart about them?

And I don’t see how one is any “softer” than the other.

People’s programming editors often do paren matching - does that make them smart parens? No they’re still just regular old parens.

Re:HN Mining or: How I Learned that there are some among us ... by TheDong on Sunday October 30, 2022 @12:05AM (#33390951)
Why do we call them "hot dogs" when they typically have a very low percentage of dog meat (often 0% I think)? Why do we call it a "gravy boat" when it's not literally a boat? Did you know there are male ladybugs?

Language is descriptive, and people do in fact call them smart quotes. That doesn't mean there has to be anything smart about them, and I'm not making the claim there is, I'm just using an agreed-upon term to convey what I'm talking about.

Re:HN Mining or: How I Learned that there are some among us ... by Manu40 on Sunday October 30, 2022 @03:33AM (#33392063)
"gravy boat"

Cause it's shaped like a simple boat. Or sort of is. Kind of like how 'soft quotes' are considered soft because they aren't in a very hard like up and down position, and are instead positioned like a feather softly falling. (or so I guess)

Re:HN Mining or: How I Learned that there are some among us ... by fuckstick on Sunday October 30, 2022 @05:00AM (#33392573)
> Why do we call them "hot dogs" when they typically have a very low percentage of dog meat

Because historically, the insinuation was that cheap sausages contained dog meat, that’s why. Someone has answered your gravyboat question. And your ladybug example is bordering on blatant troll baiting.

> Language is descriptive, and people do in fact call them smart quotes. That doesn't mean there has to

Some “people” call them ATM machines even though the M stands for machine.

> I'm just using an agreed-upon term to convey what I'm talking about.

The agreed upon terms are Left Double Quotation Mark and Right Double Quotation Mark - nothing about smart quotes in the Unicode tables.

I get that the term smart is used colloquially - but your comment suggests that their Unicode names are “smart”. I do think it is overall silly and confusing to refer to the characters themselves based on some formatting or automatic insertion feature.

Re:HN Mining or: How I Learned that there are some among us ... by ratg13 on Sunday October 30, 2022 @01:56AM (#33391566)
On my computer quotation marks default to low/high, so it depends on your language setting.

i.e. - the quotes are smart because they adapt to your region.