Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Rename all "iterator" parameters to "callback"

#21

The term iterator is used incorrectly as a parameter in methods that are used to iterator over a collection. Instead, we should rename the iterator parameter to callback.


ECMA-262 uses callbackFn
PHP uses callback
Ruby uses blocks
.NET uses predicate for functions that return true or false
.NET also uses func or different names depending on the context of the callback

Reported by Joe Gornick · February 13th, 2009 @ 03:53 PM

State: resolved
Milestone: none
Assigned to: Joe Gornick Joe Gornick

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.