Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] question about identity transform

From: "Evan Lenz" <evan@------------>
To:
Date: 11/2/2006 6:53:00 PM
Thanks to Michael and David both for your excellent replies pinpointing
why this distinction matters for users: side effects and reliance thereon.

I'm afraid I have the opposite problem compared to all the imperative
programmers demanding to know why XSLT doesn't allow assignment
statements. I cut my programming teeth on XSLT Programmer's Reference. I'm
so firmly entrenched in declarative programming (and avoidance of any
extensions that cause side effects) that I sometimes forget that, in the
larger programming world, side effects are the way you do programming.

Wendell, I'm afraid it's not so much that my pragmatic concern for users
makes me want to protect them from learning things they could get by
without. Rather, because of my well-insulated experience in the world of
declarative programming, I forget that we even need to make this
distinction in the first place.

For a declarative programmer, time is just a metaphor! (Of course
xsl:message might output in a different order than result order--that's
the implementor's business, not mine!) If you pretend that imperative
programming doesn't exist, then you can freely use time as a metaphor
without introducing the possibility for confusion. Until you can truly
escape from the grips of the imperative mindset, then, yes, I see that
time, "processing order", etc. are dangerous metaphors.

Evan


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent