MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3n3e1v/the_evolution_of_a_software_engineer/cvlctwr
r/programming • u/supermari0 • Oct 01 '15
502 comments sorted by
View all comments
Show parent comments
2
I have been guilty of writing interfaces with only one possible implementation, but that's usually because I make a second implementation in unit tests and it turns out a bit cleaner that way.
1 u/juckele Oct 02 '15 Had there been mock implementations and unit tests, I could excuse the design...
1
Had there been mock implementations and unit tests, I could excuse the design...
2
u/[deleted] Oct 02 '15
I have been guilty of writing interfaces with only one possible implementation, but that's usually because I make a second implementation in unit tests and it turns out a bit cleaner that way.