Example-Based Programming

It refers to systems that allow the programmer to use examples of input and output data during the programming process

"Programming by Example" refers to systems that try to guess or infer the program from examples of input and output or sample traces of execution (automatic programming). Do What I Mean.

"Programming with Example" systems require the user to specify everything about the program (there is no inferencing involved), but the programmer can work out the program on a specific example. The system executes the programmer's commands normally, but remembers them for later re-use. "Do What I Did"