Cariocecus@lemmy.worldM to Found Satan@lemmy.world · 1 year agoPure evillemmy.worldimagemessage-square12fedilinkarrow-up145arrow-down10
arrow-up145arrow-down1imagePure evillemmy.worldCariocecus@lemmy.worldM to Found Satan@lemmy.world · 1 year agomessage-square12fedilink
minus-squareSwedneck@discuss.tchncs.delinkfedilinkarrow-up2·1 year agoDon’t languages generally tell you about potential look-alike characters specifically for this reason?
minus-squareMonsieur@lemmy.worldlinkfedilinkarrow-up1·1 year agoThe code editor I use would say something like syntax error ‘;’, expected ‘;’ and underline the character in red. That might lead to some head scratching as apparently the Greek character is literally the same, but with a different Unicode value.
minus-squareSwedneck@discuss.tchncs.delinkfedilinkarrow-up1·1 year agoI’m talking about when you try to run/compile code, not in the editor.
Don’t languages generally tell you about potential look-alike characters specifically for this reason?
The code editor I use would say something like syntax error ‘;’, expected ‘;’ and underline the character in red. That might lead to some head scratching as apparently the Greek character is literally the same, but with a different Unicode value.
I’m talking about when you try to run/compile code, not in the editor.