303
Pure evil (lemmy.world)
top 14 comments
sorted by: hot top controversial new old
[-] rtxn@lemmy.world 55 points 1 year ago* (last edited 1 year ago)

How this plays out in reality:

"This line at this character is giving me a syntax error... I'll just delete and rewrite it, maybe there's a stray whitespace. Oh, it runs now. Weird. Whatever."

[-] JollyTheRancher@lemmy.world 18 points 1 year ago

While I imagine this is typically true, I once spent a couple hours on something like this.

[-] tdawg@lemmy.world 5 points 1 year ago

spoken like someone who hasn't been bitten by codepoints before

[-] julianwgs@discuss.tchncs.de 5 points 1 year ago

Or you would spot the changed line in git immediately and revert it

[-] perviouslyiner@lemm.ee 13 points 1 year ago
[-] FirstWizardZorander@lemmy.world 6 points 1 year ago

The real Satan is always in the comments

[-] pineapplelover@lemm.ee 8 points 1 year ago

You're fucking diabolical

[-] Swedneck@discuss.tchncs.de 4 points 1 year ago

Don't languages generally tell you about potential look-alike characters specifically for this reason?

[-] Monsieur@lemmy.world 6 points 1 year ago

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.

[-] Swedneck@discuss.tchncs.de 2 points 1 year ago

I'm talking about when you try to run/compile code, not in the editor.

[-] bappity@lemmy.world 4 points 1 year ago
[-] Hello_there@kbin.social 4 points 1 year ago

Go make a bunch of improvements to someone's github

[-] x4740N@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Should go and mess with that Google website drm thing if it's still active

I would just delete it since js is better without semicolons

load more comments
view more: next ›
this post was submitted on 17 Jul 2023
303 points (93.2% liked)

Found Satan

1726 readers
1 users here now

Individuals displaying mischievous, spiteful, or teasing behavior in a playful manner, rather than engaging in genuinely cruel actions.

founded 1 year ago
MODERATORS