Comment

Comment by seanmcdirmid

Sometimes you don’t know what the implementation will be yet, and writing a bunch of interfaces out can help you discover what it should be, then you start working it out with interfaces gradually giving way to implementation.

Interfaces are rarely rarely about interoperability even in Java. Most interfaces have one implementation. Instead, they are about abstraction, design, and so on. This article assumes that the end product is what was intended all along.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton