Since I just proposed a new paradigm I'll try to apply it, before
darting down the hill and getting my sandwich.


Dan Sugalski wrote:

> > David L. Nicol [made an akward metaphor with data as summer campers]

> That's less easy than you might think. Quick:
> 
>    $bar = bar();
> 
> is $bar active or not?

$bar is active, as in "perl's active data" by default.  It would be
tasty only if bar() returned a tasty value.


> Or:
> 
>     my $foo;
>     if ($bar) {
>       tie $foo, Bar;
>     }
> 
> how about then?

use of $bar as a conditional would trigger "swallowing" which would mean,
from the point of view of the "mouth" which held $bar in deferment, time
to compose and submit and wait for the large SQL query.

 
> This is a considerably less simple problem than you (and *definitely* I)
> might like. :(

I appear to be suggesting that deferability be an add-on that causes some
rewriting to support itself, rather than an optimization to parse away
bothering with silly calculations that we will never see the results of.

Got to make the programmers worry about _something!_



-- 
                                           David Nicol 816.235.1187
                                  It's all a crossword puzzle to me

Reply via email to