@[email protected] to [email protected] • 2 years agoDestroying friendshipfile.coffeeimagemessage-square49fedilinkarrow-up1652arrow-down141
arrow-up1611arrow-down1imageDestroying friendshipfile.coffee@[email protected] to [email protected] • 2 years agomessage-square49fedilink
minus-square@[email protected]linkfedilinkEnglish94•2 years agoWouldn’t most development programs tell them the syntax error on the line and column where you replaced the semicolon This wouldn’t work
minus-square@[email protected]linkfedilink76•edit-22 years agoVSCode 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: https://certitude.consulting/blog/en/invisible-backdoor/
minus-square@[email protected]linkfedilinkEnglish41•2 years agoJust tested in the console, it gives an illegal character error and gives you the line number.
minus-square@[email protected]linkfedilinkEnglish16•2 years agoIt 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.
minus-square@[email protected]linkfedilink3•edit-22 years agoYeah, doing something similar with brackets would be much more effective since that usually doesn’t give a line number. Is there a unicode clone of )?
minus-squarekamenlinkfedilink2•2 years agoYup. It’s as if we’re assuming this friend is coding inside Notepad.
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:
https://certitude.consulting/blog/en/invisible-backdoor/
Just tested in the console, it gives an illegal character error and gives you the line number.
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.
Yeah, doing something similar with brackets would be much more effective since that usually doesn’t give a line number. Is there a unicode clone of )?
Yup. It’s as if we’re assuming this friend is coding inside Notepad.