Skip to content
CONTACT

The law of leaky abstractions

PROGRAMMING AND BUGS

All non-trivial abstractions, to some degree, leak the details they were supposed to hide.

— Joel Spolsky, The Law of Leaky Abstractions, Joel on Software, 2002
VIDEO.EXE16:9

An abstraction is a nice façade: 'Don't worry about how the network works, just save the file.' It works beautifully, until the day the file takes four minutes and you have to find out what latency is, what a lost packet is and what a cable chewed by a rodent looks like.

The point is that convenient tools save time in normal work, but they don't excuse you from understanding what's underneath. When they leak, and they always leak, you need someone who knows how to go down to the cellar.

The cloud is the supreme abstraction: 'Your data is in a cloud.' Then the cloud has a fault in a data centre with a name, an address and a broken air conditioner. The cloud has a postcode. I knew it. I've been there.