DEV Community

Discussion on: Spot a leaky abstraction

Collapse
 
aghost7 profile image
Jonathan Boudreau

I think that leaky abstractions are when you need to understand the underlying implementation details to understand it at all, not to optimize it.

Collapse
 
stereobooster profile image
stereobooster

You said "optimize" as if this is something optional. And indeed if we take "make it work, make it right, make it fast" as rule, this can be treated so. But sometimes optimize can be "first-class" requirement, examples FPS for games, time to response in trading applications, realtime systems, script behind load balancer with short timeout (remember unicorn page in GitHub). In this case this argument of you need to optimize doesn't fit. But this is shadow area, we are arguing about semantics of loosely defined terminology.

Provide your example of leaky abstraction then, maybe, I will be able to see picture from your PoV.