16
User
Recs.
Recs.
15
Updates
Last
Updated
Updated
Activity
48 Options
An interface is a description of what an object can do but you don't care about how it does it when used in your code.
Specs
Pros
Know any positive aspects of this option?
Cons
Con You write more code at the begining
You have to write more lines of code, to declare the interface or abstraction and then the implementation of such abstraction. So the project increases in number of files and lines of code to write. But after this is done the payoff later is well worth it
Know any negative aspects of this option?
Recommendations
Interfaces
Recommended 7 years ago
Pro
Reduces code dependencyPro
Composition over inheritanceInterfaces
Recommended 7 years ago
Pro
Reduces code dependencyPro
Composition over inheritanceInterfaces
Recommended 7 years ago
Pro
Reduces code dependencyPro
Composition over inheritanceInterfaces
Recommended 7 years ago
Reza hasn’t added their experience, pros or cons to their recommendation.
Interfaces
Recommended 7 years ago
Zoltán hasn’t added their experience, pros or cons to their recommendation.
Interfaces
Recommended 8 years ago
Pro
Reduces code dependencyPro
Composition over inheritance