Get the latest tech news

The Transformation Priority Premise (2013)


blog poses a rather radical premise. It suggests that Refactorings have counterparts called Transformations.

I invented it as rule to prevent my TDD students from acquiring the nasty habit of writing production code that mirrored the tests: Given the typical TDD red/green/refactor process, it appears that the green phase can be achieved by employing a fixed set of behavior changing transformations to the code. It is the premise of this blog that if tests are chosen and implemented in this preferred order of transformations, then TDD impasses will be reduced or eliminated.

Get the Android app

Or read this on Hacker News