Trade-Off

noun

say it: “TRAYD-awf” /ˈtreɪdˌɔf/

Gaining on one thing by giving something up on another.

What is a trade-off?

A trade-off is gaining on one thing by giving something up on another. Keeping lost-and-found items on labeled shelves makes finding faster, but adding slower, because each item has to be sorted onto its shelf first. Every data structure has trade-offs, so you choose one by asking which job you'll do most.

In a sentence

  • “Shelves make finding faster but adding slower: that's the trade-off.”

Level: Novice · More Software Development terms at this level

Updated