DEV Community

Discussion on: OOP Overkill

Collapse
 
mrlarson2007 profile image
Michael Larson

I use interfaces and abstract types to define my contracts and I can easily replace the implementations with mocks or test doubles when writing tests.