This blog poses a rather radical premise. It suggests that Refactorings have counterparts called Transformations. Refactorings are simple operations that change the structure of code without changing it’s behavior. Transformations are simple operations that change the behavior of code. Transformations can be used as the sole means for passing the currently failing test in thered/green/refactorcycle. Transformations have a priority, or a preferred ordering, which if maintained, by the ordering of the tests, will prevent impasses, or long outages in thered/green/refactorcycle.“As the tests get more specific, the code gets more generic.”Recently this mantra has taken on a new meaning for me.
A collection of articles and resources of interest to the modern software developer
Tuesday, April 5, 2011
Uncle Bob - The Transformation Priority Premise
The Transformation Priority Premise - Uncle Bob's Blog
No comments:
Post a Comment