Very interesting. I enjoy reading your thoughts and compare with mines to learn from that!
I agree that in real-life, I would also likely move on with other tests to "see" the refactoring becoming more obvious—at this step, I would be afraid of misunderstanding something and would need more "examples" to see if I get it right.
But this is a refactoring kata, thus it's a great exercise to try different things and see how it goes 👍
Very interesting. I enjoy reading your thoughts and compare with mines to learn from that!
I agree that in real-life, I would also likely move on with other tests to "see" the refactoring becoming more obvious—at this step, I would be afraid of misunderstanding something and would need more "examples" to see if I get it right.
But this is a refactoring kata, thus it's a great exercise to try different things and see how it goes 👍
Yes, I agree Nicolas. I often think that in the real world we "tidy up" before we have enough information ('examples' is just the right word here).