loading...

re: When to TDD (Test Driven Develop), a Newbie’s Story VIEW POST

TOP OF THREAD FULL DISCUSSION
re: It's also a good idea to use TDD to embrace "Program an interface, not an implementation". It will also allow you to generate code from your tests,...
 

That makes sense. TDD forces you to be forward thinking so it can be a great way to push you to plan ahead.

I need to learn more about this "Program an interface, not an implementation" thing. Have any good suggested readings?

 

I think this answer on quora can be helpful.

To continue with this topic I'll suggest reading Design Patterns or something from Gang of Four.

code of conduct - report abuse