Don’t Wrap It Unless the Promise Holds

Every abstraction makes a quiet promise:
trust me, you don’t need to look inside.

Break that promise once —
a leak, a surprise, a special case —
and people stop trusting it.
They read the internals anyway.

Then the abstraction cost you
without buying anything.

Wrap it only if the promise holds.

– Serguey Asael Shinder

Leave a comment