Raul Miller wrote: > Lazy evaluation potentially introduces overhead cost in > each step of a process, and in some contexts can lead > to hard-to-debug issues, but in some cases can make > notation significantly simpler than the alternatives. > Agreed. I was not suggesting it was a panacea.
> Also, J does support lazy evaluation, in a minor way: > ^:_ Also agreed. However, most evaluation is non-lazy. Lazy evaluation can lead to a declarative rather than imperative style. A good contrast is Adobe Type I fonts compared with TrueType fonts: the former contain declarative hints for rasterization, the latter have the rasterizer built in. These approaches have the obvious pros and cons. Best wishes, John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
