[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: [xslt 2.0] Local functions
From: Justin Johansson <procode@xxxxxxxxxx>
Date: Sat, 21 Jul 2007 23:34:26 +0900
>Generally speaking, I think functions local to a function (or template) are
>not an especially good idea. I used them in Pascal, and the net result was
>some very large functions containing lots of functions which in turn
>contained their own functions, and the code became very hard to read. It was
>very hard to tell what was in scope at any given time.
>
>Michael Kay

Yes I well remember The Wirth User Manual and Report on Pascal
and using local functions in that language.  My experience was similar
to yours and I didn't particularly coding that way.  However since some
latter day languages still support local functions, I was wondering if
somehow they were still in vogue.

Cheers

Justin Johansson

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member