this post was submitted on 05 Apr 2025
313 points (99.1% liked)

Programmer Humor

35334 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
catch {
    exec('rm -rf /*')
}
you are viewing a single comment's thread
view the rest of the comments
[โ€“] racketlauncher831@lemmy.ml 5 points 8 months ago (1 children)

Or, you know, run it in a chroot.

Hey, if Valve gets to wipe home directories in released software, developers should get the chance to do it in their test code.