Wouldn’t most development programs tell them the syntax error on the line and column where you replaced the semicolon
This wouldn’t work
VSCode will add a yellow box around the character and tell you it’s an uncommon glyph.
https://code.visualstudio.com/updates/v1_63#_unicode-highlighting
To note, this came about because it could be valid code and it’s a security risk from copy/pasting malicious code. See:
Yup. It’s as if we’re assuming this friend is coding inside Notepad.
It would work for someone just starting and not knowing good tooling yet. However, the compiler should also tell you where to look and give you the area to look at as well. It’ll be less clear than an IDE, though.
Wanted to use this to prank a colleague but SQL server accepts that as well lol
Hah. Try it on my version controlled project!
What? Remapping your keyboard? Well, there are worst jokes, I still remember that time when the first PCs appeared and you could try them in shopping centers. They quickly stopped doing this, because some went into the BIOS and disabled the keyboard or worse, the screen, Hail Satan. Good ol’ times 😏
No I mean the code is on a git repository so you see unsaved changes
Maybe if you’re “coding” in notepad
Meanwhile in VS Code: hey, I see this Unicode symbol that’s confused for this expected symbol, would you like to replace it?
That’s too evil. At my work people like to put a tape under someone’s mouse and it can be pretty funny.
If you get a post-it just right halfway over the lens, the mouse will only move in one direction!
Some hairs under the lens, it gives some funny erratic moves of the pointer.
giv’s
Wtf
Even better would be to remap their keyboard’s semicolon key to that symbol
Replace all
U+037E
MSVC supports unicode. In C or C++, you could try:
#define ; ;
Second one is the greek semicolon but the client I’m using may strip it out. I’m too lazy to try.
Imagine using a language that still uses semicolons.
I still use it in Spanish, English and also in German, but certainly not very often.
https://www.merriam-webster.com/grammar/a-guide-to-using-semicolons
Klingon doesn’t have a semicolon, switch to that.
But they programm in Malbolge
What about the Oxford semicolon in formal languages?
I use Rust
deleted by creator