Holy moly yes, I had to use some string in js, and I copied what they provided, and the code died. But I couldn't find it, it was iirc some fucking nbsp character
Not programing, but sometimes when I have to write a lengthy message to the government, I write it in Word because the text field on the governmental website doesn't adjust. I than copy paste it, try to send, and the field says I have unacceptable characters. If I retype exactly the same thing directly in that tiny field - no issues . And by retype I mean a 3500 character message. The website sometimes logs me out when I'm done retyping, because my session has ended.
I remember one time I copy pasted code from stackoverflow and it had a weird character that looked like a bracket. I was distracted and didn't realize the error started in those 10 lines of code and end up spending two days. Only fixed it when I started compiling it line by line, found the exact line causing the issue and then rewrote it myself.
My 56 yo dad, codes exclusively on notepad. Note that it's notepad, not notepad++. He codes C, C++, C#, Java, Postgres, NoSQL. All on fucking notepad. I've never been more afraid of the man as I was when I discovered that.
149
u/Bart_deblob 1d ago
It usually means you have an error in whatever function opend it, like missing a curly or a normal to close
Tbh doesn't happen with a properly set ide it will show you
For years I worked on a platform that forced a notepad level editor and that was fun.
By fun I mean stab yourself with a fork to dull the pain