JavaScript

Debounce vs throttle

Debounce waits for a quiet period before firing; throttle guarantees a maximum firing rate.

Why interviewers ask about it

Match to intent: debounce for 'user finished typing', throttle for 'keep updating while scrolling'. Choosing wrongly is the common error.

This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.