Zerush@lemmy.ml to Memes@lemmy.ml · 6 months agoDestroying friendshipfile.coffeeimagemessage-square47fedilinkarrow-up1556arrow-down137
arrow-up1519arrow-down1imageDestroying friendshipfile.coffeeZerush@lemmy.ml to Memes@lemmy.ml · 6 months agomessage-square47fedilink
minus-squarex4740N@lemmy.worldlinkfedilinkEnglisharrow-up82arrow-down1·6 months 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-squareShortFuse@lemmy.worldlinkfedilinkarrow-up64·edit-26 months 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-squareCipher22@lemmy.worldlinkfedilinkEnglisharrow-up13arrow-down1·6 months 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-squaresaigot@lemmy.calinkfedilinkarrow-up2·edit-26 months 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-squarekamen@lemmy.worldlinkfedilinkarrow-up1·6 months 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/
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.