this post was submitted on 15 Sep 2023
444 points (84.2% liked)

Programmer Humor

19207 readers
1115 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BradleyUffner@lemmy.world 53 points 1 year ago (2 children)

Any remotely capable IDE will immediately show you what, and where, the problem is.

[–] stebo02@sopuli.xyz 12 points 1 year ago (1 children)

it would still be confusing why all semicolons are highlighted

[–] qaz@lemmy.world 2 points 1 year ago

VSCode has a special case for this

[–] etler@programming.dev 2 points 1 year ago (2 children)

That means that detection was added explicitly because this prank was done enough that it was worth it to add.

[–] dylanTheDeveloper@lemmy.world 2 points 1 year ago

We do a little trolling

[–] Quik@infosec.pub 1 points 1 year ago

The reason is in fact not only because of this exact symbol, but because people tried to change program’s behavior in a malicious way by replacing legitimate code with same looking symbols.