593
you are viewing a single comment's thread
view the rest of the comments
[-] scott@lemmy.org 5 points 3 days ago

What exactly do you think you can do with this?

[-] socsa@piefed.social 18 points 3 days ago

Chaotic evil linting rules

[-] argh_another_username@lemmy.ca 11 points 3 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 3 days ago

Not all! Just one or two per file.

[-] vk6flab@lemmy.radio 4 points 3 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 3 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 3 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 2 days ago

What the fuck is that supposed to do?

[-] vk6flab@lemmy.radio 2 points 3 days ago
[-] tisktisk@piefed.social 5 points 3 days ago

mess with whoever has the least modern ide? I'm sure there's something else too hold on

[-] HiddenLayer555@lemmy.ml 10 points 3 days ago

Would probably be more effective to mess with Linux config files that use semicolons. Especially if it's run as a daemon because Systemctl doesn't always return helpful error messages for configuration errors.

[-] tisktisk@piefed.social 1 points 3 days ago

would you say openRC or rc-service returns better or more helpful error messages with these kinds of things?

[-] communism@lemmy.ml 1 points 3 days ago

I think most daemons would log a helpful enough error message regarding incorrect syntax e.g. if it's a config file of variable=value; format then it wouldn't expect two equals signs on the same line.

[-] tisktisk@piefed.social 2 points 3 days ago

I too wish to see these not-so-helpful error messages (not denying just new)

this post was submitted on 31 Jul 2025
593 points (98.7% liked)

Programmer Humor

37546 readers
610 users here now

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

Rules:

founded 6 years ago
MODERATORS