pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
[personal profile] pne

I always get a little bit sad when I see documentation that includes code snippets that have curly quotes, such as print “This is a test.\n”. I doubt that that code would even compile if you copy-pasted it into a file and compiled/ran it with the language in question. What's even worse is German documentation that takes "smart" quotes one step further and gives you print „This is a test.\n“—which not only has a really ugly closing quote in the Courier New so often used for code examples (the lines should point NE/SW rather than SW/SE for a German closing single quote IMO), but is even less similar to the correct print "This is a test.\n".

A related sadness comes when two consecutive hyphens turn into an en or em dash… reading about program invocations such as hello —foo=bar —baz=qux seems to me also a mark of bad typography (so as not to say "incompetence").

And finally, reading bits of code that use ligatures is something along those lines as well: my $file, for example. Eep.

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

pne: A picture of a plush toy, halfway between a duck and a platypus, with a green body and a yellow bill and feet. (Default)
Philip Newton

June 2015

S M T W T F S
 12 3456
78910111213
14151617181920
2122232425 2627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Friday, 2 January 2026 03:20
Powered by Dreamwidth Studios