Re:That won't scale Or present cost vs. future value
by magicalhippo on Monday April 24, 2023 @09:19AM
(#35687303)
Depending on language, interfaces also places additional constraints as it limits interdependencies.
For example, in Delphi classes in the same unit (file) can access each others protected members. This is usually a code smell, which interfaces prevent.
An interface isn't just a type construct, it communicates the intent of the systems design.