@SEGVeenstra
I build apps and games with Flutter!
Stephan is a Flutter Developer from The Netherlands.
By day he is working on serious apps for Pinch, by night he likes to play around by making games and writing about what he has learned.
Nothing here yet.
True, refactoring is often mentioned as a separate step (after the test passes). Personally I don't see the point of refactoring your code while you're still implementing. You could refactor your code after you pass the test and then when you do the next requirement realize it's not going to work, meaning you wasted time. As I mentioned in the 'reasons', you will write code that can be refactored with confidence, but I would suggest to do this after you're done. This is personal preference of course.