4 ms·
Years ago Interlisp (does anybody here remember Interlisp?) had a function called DWIM (AKA Do What I Mean). It was an (optionally enabled) part of the REPL. I
by inetsee 6y ago
Years ago Interlisp (does anybody here remember Interlisp?) had a function called DWIM (AKA Do What I Mean). It was an (optionally enabled) part of the REPL. If you typed something that made no sense, DWIM would try to figure out what you really meant to type, and offered to run the corrected command.
I have often wondered why that functionality disappeared, and why no one has tried to resurrect it. Search engines offer corrections all the time; why doesn't bash?
- abhiyerra 6y agoZsh has this. But it mostly drives me mad.
- bitwize 6y agoQuaxity quuxity, Teitelman's Interlisp Has a DWIM feature that's Really a screw; MACLISP has evident Superiority Letting its customer Mean what he do. --The Great Quux (Guy L. Steele) This poem indicates the frustrations that hackers had with DWIM at the time, which may explain why no one tried to resurrect it. Too-clever-by-half features intended to help tend to drive people nuts, especially when they fail. Even when they succeed, they interrupt the user's flow and become like that dialog box Windows users just dismiss.
- reificator 6y agohttps://github.com/nvbn/thefuck https://github.com/nvbn/thefuck