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

Found Satan

1754 readers
309 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 57 points 1 year ago* (last edited 1 year 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 19 points 1 year ago (1 children)

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

[–] tdawg 5 points 1 year ago

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

[–] [email protected] 5 points 1 year ago

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

[–] [email protected] 13 points 1 year ago* (last edited 1 year ago) (1 children)

#DEFINE TRUE (__LINE__ % 100)

[–] FirstWizardZorander 6 points 1 year ago

The real Satan is always in the comments

[–] [email protected] 8 points 1 year ago

You're fucking diabolical

[–] bappity 5 points 1 year ago
[–] [email protected] 4 points 1 year ago (1 children)

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

[–] Monsieur 6 points 1 year 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] 2 points 1 year ago

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

[–] [email protected] 4 points 1 year ago (1 children)

Go make a bunch of improvements to someone's github

[–] x4740N 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

[–] [email protected] 0 points 1 year ago

I would just delete it since js is better without semicolons

load more comments
view more: next ›