So I am undecided if this type of improvement methodology has ever been utilized to such an excessive earlier than so I figured I might doc it. In a nutshell, it is kind of like test-driven triplet-programming improvement.
Whereas speed-developing our alpha codebase, 4 of us sat round a desk within the workplace in Berlin. Three folks (Vitalik, Jeff and me) every coders of their very own clean-room implementation of the Ethereum protocol. The fourth was Christoph, our grasp of testing.
Our goal was to have three totally suitable implementations in addition to an unambiguous specification by the tip of three days of considerable improvement. Over distance, this course of usually takes a couple of weeks.
This time we would have liked to expedite it; our course of was fairly easy. First we focus on the varied consensus-breaking adjustments and formally describe them as finest we are able to. Then, individually we every crack on coding up the adjustments concurrently, popping our heads up about attainable clarifications to the specs as wanted. In the meantime, Christoph devises and codes assessments, populating the outcomes both manually or with the farthest-ahead of the implementations (C++, usually :-P).
After a milestone’s value of adjustments are coded up and the assessments written, every clean-room implementation is examined in opposition to the frequent take a look at information that Christoph compiled. The place points are discovered, we debug in a gaggle. To this point, this has proved to be an efficient method of manufacturing well-tested code shortly, and maybe extra importantly, in delivering clear unambiguous formal specs.
Are there any extra examples of such methods taken to the acute?