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

Tom Trenka ttrenka at gmail.com
Mon Apr 3 17:32:00 EDT 2006


Goddammit, did it again, sorry.
---

Alex,
I can, that's fine. Didn't want to do that (duplication), but if you're cool
with it then I'll look at it.

Still doesn't answer the original preference q: Java style imperative or
.NET style imperative.

On 4/3/06, Alex Russell <alex at dojotoolkit.org> wrote:

> So just implement your own forEach() method with the same signature.
>
> On Monday 03 April 2006 2:26 pm, 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.
>
> --
> Alex Russell
> alex at jot.com
> alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20060403/ff80346e/attachment.htm 


More information about the dojo-contributors mailing list