Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thank you for this comment! Suddenly 'bouncing' makes total sense as a mental image when before it only vaguely tracked in some abstract way about tons of tiny events bouncing around and triggering things excitedly until you contain them with debounce() :-)

Come to think of it throttle is the much easier to understand analogy.



Throttling is a different thing though. Debouncing is waiting until the input has stopped occurring so it can run on the final result, throttling is running immediately on the first input and blocking further input for a short duration.


thanks - I know :-)

ambiguous phrasing! Just saying of the two throttling is the one that has the more well-known physical analogy




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: