|
DWIM (''Do What I Mean'') computer systems attempt to anticipate what users intend to do, correcting trivial errors automatically rather than blindly executing users' explicit but potentially incorrect inputs. The term was coined by Warren Teitelman in his DWIM package for BBN Lisp, part of his PILOT system, some time before 1966.〔Warren Teitelman, "PILOT: A Step towards Man-Computer Symbiosis", M.I.T. Ph.D. Dissertation, Project MAC MAC-TR-32, September 1966. (DTIC AD0638446 ) (PDF ), p. 51〕〔Warren Teitelman, "Toward a programming laboratory", in J.N. Buxton and B. Randell, ''Software Engineering Techniques'', April 1970, a report on a conference sponsored by the NATO Science Committee, Rome, Italy, 27–31 October 1969, p. 108''ff''.〕〔Donald E. Walker, Lewis M. Norton (Eds.): Proceedings of the 1st International Joint Conference on Artificial Intelligence, Washington, DC, p 715, May 1969.〕 Teitelman's DWIM package "correct() errors automatically or with minor user intervention",〔 similarly to a spell checker for natural language. Teitelman and his Xerox PARC colleague Larry Masinter later described the philosophy of DWIM in the Interlisp programming environment (the successor of BBN Lisp):
Critics of DWIM claimed that it was "tuned to the particular typing mistakes to which Teitelman was prone, and no others" and called it "Do What Teitelman Means" or "Do What Interlisp Means."〔Guy L. Steele Jr., Richard P. Gabriel, "The Evolution of Lisp", in ''History of programming languages---II'', 1996, ISBN 0-201-89502-1 , p. 16. (pdf )〕 The DWIM concept has been adopted by users of the GNU Emacs text editor to describe Emacs Lisp functions or commands that "do the right thing" depending on context, and do not specifically correct the user's typing. The Emacs wiki gives the example of a file copy command that is able to deduce the destination path from a split window configuration that contains two dired windows, one of which displays the source path. DWIM functionality is often mentioned in the command's name; GNU Emacs has a comment-dwim function that comments out a selected region if uncommented, or uncomments it, when already commented out. ==See also== * Principle of least astonishment * Autocorrection * DIY * Affordance 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「DWIM」の詳細全文を読む スポンサード リンク
|