I have used something like this in a project as well. I wouldn't mind seeing it in core. I don't particularly care what its called.
Allen Madsen http://www.allenmadsen.com On Fri, Apr 23, 2010 at 9:00 AM, Titi Alailima <tigreti...@gmail.com> wrote: > On Fri, Apr 23, 2010 at 6:28 AM, Mislav Marohnić <mislav.maroh...@gmail.com> > wrote: >> >> I use it primarily for "keyup" events (where this is absolutely >> essential), but it has other uses. >> The feedback I wanted to get here is naming. The jQuery community calls >> this function "debounce", because "throttling" means letting through a >> function execution at regular intervals. I agree about the last part, but I >> simply don't like "debounce" since it's completely non-descriptive to me. > > "debounce" is a technical term, and it refers to the very case that you are > trying to handle. Physical controls tend to "bounce" and thus produce > multiple events that you want to consolidate into a single event. It may > not be intuitive out of context, but it has a long history from the hardware > world. Coming from an electrical engineering background myself, I would be > totally on board with using that terminology, but I could certainly be > persuaded that something more intuitive would be in order. However, > "throttle" definitely seems to be the wrong way to go as it has a different > meaning that is very intuitive. > Titi > > -- > You received this message because you are subscribed to the Google Groups > "Prototype: Core" group. > To post to this group, send email to prototype-core@googlegroups.com > To unsubscribe from this group, send email to > prototype-core-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/prototype-core?hl=en -- You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en