xsl-list
[Top] [All Lists]

RE: Let's face it: side effects are sometimes necessary!

2002-12-03 02:35:22
- OK, I'll bite... why do transactions "by definition" 
require side effects?

Because when I order a book from Amazon, I like something to arrive in
the post the next day, and in the arcane language of functional
programming, the arrival of the book is considered to be a side-effect.

But my answer to that is, as I said recently on another thread: use XSLT
to do your XML transformations, don't use it to make the tea or wash the
dishes.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list