Honestly, I have no experience in TDD.
I had a discussion about this with some teammates.
One of them said that TDD can be helpful to better understand your classes and methods before actually writing them since first you have to think about the test cases. So in some way, you will get a cleaner code in the end.
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (1)
Honestly, I have no experience in TDD.
I had a discussion about this with some teammates.
One of them said that TDD can be helpful to better understand your classes and methods before actually writing them since first you have to think about the test cases. So in some way, you will get a cleaner code in the end.