this post was submitted on 09 May 2024
401 points (96.3% liked)

Programmer Humor

19512 readers
357 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
 

Art by me, after a typo by my friend.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] jjjalljs@ttrpg.network 7 points 6 months ago (1 children)

i never tried it, but i like the idea of https://github.com/nvbn/thefuck for fixing mistakes in the terminal

[โ€“] mormegil@programming.dev 9 points 6 months ago

Beware the DWIM!

In one notorious incident, Warren added a DWIM feature to the command interpreter used at Xerox PARC. One day another hacker there typed delete *$ to free up some disk space. (The editor there named backup files by appending $ to the original file name, so he was trying to delete any backup files left over from old editing sessions.) It happened that there weren't any editor backup files, so DWIM helpfully reported *$ not found, assuming you meant 'delete *'. It then started to delete all the files on the disk!

http://www.catb.org/jargon/html/D/DWIM.html