5 ms·
Code is very often written to be copied and pasted though! And you could be surprised by the amount of people not noticing the difference between the quotes.
by _han 4y ago
Code is very often written to be copied and pasted though! And you could be surprised by the amount of people not noticing the difference between the quotes.
- f1refly 4y agoThose people will notice when their compiler complains and will hopefully know better than to copy+paste something from an untrusted website next time.
- klodolph 4y agoThis code is very obviously just illustrating a point to the people reading it, it seems unlikely that anyone would want to copy and paste it. Lots of code snippets are incorrect code. For example, I often write C code like this: int x = ...; The line contains a syntax error, but I’m communicating to the people reading that x is initialized to some value.