this post was submitted on 17 Jul 2023
317 points (93.2% liked)

Found Satan

1704 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
 
top 14 comments
sorted by: hot top controversial new old
[–] rtxn 56 points 11 months ago* (last edited 11 months ago) (2 children)

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 18 points 11 months ago (1 children)

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

[–] tdawg 4 points 11 months ago

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

[–] [email protected] 4 points 11 months ago

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

[–] [email protected] 12 points 11 months ago* (last edited 11 months ago) (1 children)

#DEFINE TRUE (__LINE__ % 100)

[–] FirstWizardZorander 5 points 11 months ago

The real Satan is always in the comments

[–] [email protected] 7 points 11 months ago

You're fucking diabolical

[–] bappity 5 points 11 months ago
[–] [email protected] 3 points 11 months ago (1 children)

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

[–] Monsieur 5 points 11 months ago (1 children)

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.

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 3 points 11 months ago (1 children)

Go make a bunch of improvements to someone's github

[–] x4740N 1 points 9 months ago* (last edited 9 months ago)

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

[–] [email protected] 0 points 11 months ago

I would just delete it since js is better without semicolons

load more comments
view more: next ›