3 ms·
Those properties should ideally be part of the documentation so that the abstraction stops leaking.
by im3w1l 10y ago
Those properties should ideally be part of the documentation so that the abstraction stops leaking.
- 4ad 10y agoOne could argue that if these details are necessary for correct/performant operation, then it is a leaky abstraction.
- im3w1l 10y agoTo me a leaky abstraction is an abstraction that does not expose all the relevant details. So if those details are written on the spec sheet of the black box then there is no leak. If the box is only labelled with O(nlog n) without specifying constants then there is a leak.