Programming by experimentation is exemplified by a Beck cycle which is a week long. A Beck cycle starts Monday morning with an idea. Without any planning, a programmer starts coding to see if the idea can be implemented. By the end of Monday, he will have convinced himself of the idea's feasibility. Tuesday, and Wednesday are spend finishing a prototype implementation. Thursday, and Friday are spent showing the prototype to his colleagues, and fixing any bugs that are found. If a colleague likes the idea, he wil l pick up the prototype, modify it, and use it in his next project .
When the idea is no good, the Beck Cycle is aborted. This could happen when the programmer discovers that he doesn't know how to implement the prototype, or when the prototype uncovers some basic flaw. In conventional environments, projects are seldom aborted because the effort invested is high. In Smalltalk, the effort invested is much less, and I can discard the code and try something else instead of trying to make the idea work by adding patch after patch. Since I throw away my failures, and show off the good ideas, I have acquired a reputation as an very good Smalltalk programmer.
~
Sandberg, D. W. Smalltalk and Exploratory Programming. ACM SIGPLAN Notices 23, Nr. 10 (1. Oktober 1988): 85–92. doi .