Fwd: [dojo-contributors] [feedback wanted] Preferred Iteration forms

Sandro Magi smagi at naasking.homeip.net
Tue Apr 4 09:04:03 EDT 2006

Tom Trenka wrote:
> Including the dojo.lang dependency will add 327 lines of code plus the
> overhead of the dojo.require statements (if not used as part of a build
> package).  So adding dojo.lang.forEach may *seem* like a convenience but
> it adds a bit of overhead.
> Once again, there's no reason why you couldn't use dojo.lang.forEach on
> your own if you wanted to use that in conjunction with the Collections code.

Oh I understand, I was just making the case that forEach seems to reduce
overall complexity since that seemed to be one of your stated goals.


More information about the dojo-contributors mailing list