594
you are viewing a single comment's thread
view the rest of the comments
[-] argh_another_username@lemmy.ca 11 points 4 days ago

Take someone’s source code, replace all semi colons with Greek question marks and see if they can compile. But as others said, any IDE will help.

[-] HairyHarry@lemmy.world 11 points 4 days ago

Not all! Just one or two per file.

[-] vk6flab@lemmy.radio 4 points 4 days ago

Just the last one, right before the EOF.

Speaking of EOF, I wonder what a heredoc might do with this 😇

[-] scott@lemmy.org 2 points 4 days ago

You're just going to get syntax errors though

[-] Petter1@discuss.tchncs.de 6 points 3 days ago

Not if you choose to replace the correct ones at the correct place and it is a compiler which automatically ignores this wrong semicolon.

You could connect two lines, which may still "work" if not split using a semicolon and are then interpreted as one single line.

[-] vk6flab@lemmy.radio 4 points 4 days ago

You are right .. but, you're not thinking big enough.

Think .. sticky tape on the bottom of a mouse.

[-] scott@lemmy.org 1 points 3 days ago

What the fuck is that supposed to do?

[-] vk6flab@lemmy.radio 2 points 4 days ago
this post was submitted on 31 Jul 2025
594 points (98.5% liked)

Programmer Humor

37567 readers
1480 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS