IT HAS BEEN
[0]
DAYS SINCE A PROGRAM FAILED TO COMPILE BECAUSE PASTED SAMPLE CODE HAD BEEN PASSED THROUGH A SYSTEM THAT TRANSFORMED QUOTES TO SMART QUOTES
IT HAS BEEN
[0]
DAYS SINCE A PROGRAM FAILED TO COMPILE BECAUSE PASTED SAMPLE CODE HAD BEEN PASSED THROUGH A SYSTEM THAT TRANSFORMED QUOTES TO SMART QUOTES
@joshuaelliott @mcc But they're smart!
@mcc A damn menace, always and everywhere. And they aren't even that pretty.
@mcc
Oh god, been there.
See also: two dashes in command line args being transformed into em-dashes. In a monospaced font where you can't tell.
@mcc Someday we'll solve this problem once and for all by designing a language that accepts smart quotes!
/s
@bswolf I actually designed this and had a working prototype but it never shipped :(
@mcc Proposal: add support for smart quotes to GCC.
To βavoidβ adding complexity, have interpreting them determined by whether --trigraphs is on.
@1ace @mcc they look better in prose than plain quotes, and it is very difficult for a normal human who has not studied the X compose tables to type β β β β ?
@mcc I never understood these char replacements; they cause problems everywhere, and⦠that's it? Or is there some upside somewhere?
@brandon Haven't we learned that Postel's law makes things worse except in very particular circumstances?
@mcc Can't we just special case smart quotes in the parsers already? It's 2023, not everything is ASCII anymore. At the very least, the IDEs could fix it for you, just like the word processors break it.
Chirp! is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
All Chirp! content and data are available under the Creative Commons Attribution 3.0 license.