Construction idioms: Difference between revisions
Jump to navigation
Jump to search
(Created page with "So here's three programs which demonstrate how I would go about evolving some code including a class called MyThing. The initial implementation would be very direct and very c...") |
No edit summary |
||
Line 1: | Line 1: | ||
So here's three programs which demonstrate how I would go about evolving some code including a | So here's three complete programs which demonstrate how I would go about evolving some code including a main component called MyThing. The initial implementation would be very direct and very concrete, the next implementation would factor out an interface, and the final implementation would implement MyThing in a full-blown extensible framework. | ||
* [https://svn.jj5.net/jjrepo/exp/2017-11-23-000609/take-0.cs Take Zero] | * [https://svn.jj5.net/jjrepo/exp/2017-11-23-000609/take-0.cs Take Zero] | ||
* [https://svn.jj5.net/jjrepo/exp/2017-11-23-000609/take-1.cs Take One] | * [https://svn.jj5.net/jjrepo/exp/2017-11-23-000609/take-1.cs Take One] | ||
* [https://svn.jj5.net/jjrepo/exp/2017-11-23-000609/take-2.cs Take Two] | * [https://svn.jj5.net/jjrepo/exp/2017-11-23-000609/take-2.cs Take Two] |
Revision as of 23:57, 22 November 2017
So here's three complete programs which demonstrate how I would go about evolving some code including a main component called MyThing. The initial implementation would be very direct and very concrete, the next implementation would factor out an interface, and the final implementation would implement MyThing in a full-blown extensible framework.