Is a type of programming where the person does what the computer or electronic device is supposed to do and then the computer can automatically accomplish the task when needed. A good example of "program-by-doing" is the MacOS' own AppleScript. Programs generated in this way can hardly be said to have been programmed at all in the common sense of the word.