Example centric programming

被引:16
作者
Edwards, J [1 ]
机构
[1] MIT, CSAIL, Cambridge, MA 02139 USA
关键词
human factors; languages; debugging; unit testing; examples; integrated development environment; eclipse;
D O I
10.1145/1052883.1052894
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Programmers tend to understand programs by thinking of concrete examples. Example Centric Programming seeks to add IDE support for examples throughout the process of programming. Instead of programmers interpreting examples in their head, the examples are written down and the IDE interprets them automatically. Advanced UI techniques are used to present the results closely integrated with the code. Traditionally distinct programming tools (the editor, Read-Eval-Print-Loop, debugger, and test runner) are unified into a single tool that might be called an example-enlightened editor. This is expected to benefit a wide spectrum of programming activities, for both novice and experienced programmers. Some novel methods for testing and development are made possible. In the longer term, example centrism has implications for the design of future programming languages. A prototype has been implemented for Java in Eclipse.
引用
收藏
页码:84 / 91
页数:8
相关论文
共 24 条
  • [1] [Anonymous], 2003, CONTRIBUTING ECLIPSE
  • [2] BECK K, 2002, TEST DRIVEN DEV
  • [3] BOOTH SP, 1997, 3 INT WORKSH AUT DEB
  • [4] BURNETT M, 2001, J FUNCTIONAL PROGRAM, V11, P2
  • [5] CYPHER A, 1993, WATCH WHAT DO PROGRA
  • [6] A FINE-GRAINED ACCOUNT OF PROLOG EXECUTION FOR TEACHING AND DEBUGGING
    EISENSTADT, M
    BRAYSHAW, M
    [J]. INSTRUCTIONAL SCIENCE, 1990, 19 (4-5) : 407 - 436
  • [7] FINDLER RB, 2002, J FUNCTIONAL PROGRAM, V12, P2
  • [8] Fowler M., 2018, Refactoring: improving the design of existing code, V2nd
  • [9] HENDERSON P, 1985, ICSE 85
  • [10] HOFFMAN D, 1997, W CANADIAN C COMPUTI