Hacker News new | ask | show | jobs
by peteradio 1395 days ago
> Generality leads to bloat in software systems and increases complexity unnecessarily.

This is missing some qualifiers methinks. An interface is generic in that you don't have a concrete implementation, surely that can be used to decrease complexity rather than bloat it?

1 comments

I'm thinking more in terms of what you put into that interface. Do you add features that you might need later? My approach would be no. You design your first interface with only what you need right now. And if you don't need an interface to do that, you bring in the interface later.