News for hackers. Stuff that matters.
Re:That won't scale Or present cost vs. future value by preommr on Monday April 24, 2023 @05:53AM (#35685537)
Because then someone else comes along and builds to the implementation and now that simple change becomes a mess of a refactor.

An interface isn't just a type construct, it communicates the intent of the systems design.

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.