3 ms·
When you copy/paste an invisible space in your code
- bediger4000 3y agoThis existed well before Unicode's dopey multiple kinds of space character. Leading or trailing ASCII tabs and spaces, or the Windows carriage return aberration would often trip people up. I have a habit of quoting "%s" in C printf, or using "%q" in Go fmt.Printf calls because of that.
- chrsig 3y agoAll spaces are invisible :) Hipchat would insert non visible characters when copy and pasting messages. I don't know if they still do. I remember spending an absurd amount of time replacing every single bit of a sql query until I finally discovered that it was the "spaces" that the mysql parser was yelling about.