DEV Community

Discussion on: It’s all about the abstractions baby

Collapse
 
alanmbarr profile image
Alan Barr

I had a similar feeling in the past especially working with code where someone made an interface for every single object. However, now I see the use cases for library components and making code more flexible for use. Code can sometimes be too strict in what it allows and an interface allows a more generic option to be used that still matches the contract.