W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2004

Re: lazy or eager variable initialization? [qt-2004Feb1090-01]

From: Per Bothner <per@bothner.com>
Date: Tue, 22 Jun 2004 16:18:17 -0700
Message-ID: <40D8BE39.6000108@bothner.com>
To: Liam Quin <liam@w3.org>
Cc: public-qt-comments@w3.org

Liam Quin wrote:

> The XML Query Working Group considered it and resolved to
> change the text to make it clearer that lazy evaluation is
> permitted, as in your option (4).

Permitted, or required?

Consider something as simple as:

declare variable $x { $y };
declare variable $y { 10 };
$x + $y

Is this portable, implementation-defined, or neither?
What about more complex expressions that depend on
lazy evaluation?
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/
Received on Tuesday, 22 June 2004 19:18:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:20 UTC