4 ms·
Or “real” quotes in code examples..
by minikomi 11y ago
Or “real” quotes in code examples..
- scintill76 11y agoOr en-dashes instead of double hypens for command line flags... I can feel my blood pressure rising just thinking about it.
- zaptheimpaler 11y agoDamn you Google docs! they also do this :(
- TorKlingberg 11y agoI don't think people do this intentionally. Either the code snippet has passed through MS Word (why?) or their blog tool is being "helpful".
- harryc2011 11y agoIt happens if you paste the code into an Outlook email (which used Word as the rendering engine IIRC)
- jff 11y agoI once had to do a team project with another student who did all his coding in Wordpad, god knows why. His indentation was more or less random. I wanted to murder him.
- nommm-nommm 11y agoEmailed code snippets have this problem when emailed using some email clients (Outlook, looking at you)
- jimbokun 11y agoHah, I was giving a presentation where I was running little queries as part of a demo. I had copied the queries into the presenter notes in PowerPoint, then pasted them one at a time into a web app to run them. Couldn't figure out why one of them wasn't working, and it was actually an audience member who figured out PowerPoint had turned a quote character into a "smart quote".