[clue-tech] increment weather
Brian Gibson
bwg1974 at yahoo.com
Tue Feb 23 09:59:15 MST 2010
> I wonder whether in-loop mods are a good idea.
In general or this specific case?
Iterators are awesome. Check out: http://www.skorks.com/2009/09/a-wealth-of-ruby-loops-and-iterators/ and http://billsix.blogspot.com/2008/03/functional-collection-patterns-in-ruby.html for Ruby examples. In other words, even with flow control, it's best to pick the right tool for the job.
More information about the clue-tech
mailing list