๐Ÿ“บ Transformation Priority Premise

Uncle Bob Martin walks through the โ€œPrime Factorsโ€ kata in Java (29m06s) to illustrate the concept of Transformation Priority Premise as a way to address the common complaint about TDD: the brainlessness โ€œAs the tests get more specific, the code gets more generic.โ€ โ€ฆ and โ€œhereโ€™s the list of transformationsโ€ (47m53s): So what are these transformations? Perhaps we can make a list of them: ({}โ€“>nil) no code at all->code that employs nil (nil->constant) (constant->constant+) a simple constant to a more complex constant (constant->scalar) replacing a constant with a variable or an argument (statement->statements) adding more unconditional statements....