[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] module extensibility


Subject: Re: [xsl] module extensibility
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Sun, 13 Apr 2014 20:49:54 +0200

You have explicitly barred classes and inheritance. If you are after
reuse and structural integrity, this feature exceeds modules. And
asking for a language where importing a module (silently) overrides
declarations is, in general, inviting trouble (which doesn't mean that
it isn't a good thing in XSLT).

-W

On 13/04/2014, Max Toro <maxtoroq@xxxxxxxxx> wrote:
> I've yet to find another programming language where modules is the
> primary way of composition and reusability.
> Really surprised by this, and disappointed of modern languages like F#.
> Such a killer feature in XSLT.
> --
> Max Toro
>
>
> On Sat, Apr 12, 2014 at 2:17 AM, Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
> wrote:
>> Imports and redefinitions of macros are also available in
>>    * Knuth's TeX
>>    * the m4 macro processor
>>    * the C preprocessor
>>    * Lisp and its dialects
>>
>> The "module" concept is in a weak form, i.e., as a source file, not as
>> a named program structure with import and export.
>> -W
>>
>> On 11 April 2014 17:39, Max Toro <maxtoroq@xxxxxxxxx> wrote:
>>> Are there any other programming languages where I can import modules
>>> and override declarations besides XSLT? Using classes and inheritance
>>> does not count.
>>> --
>>> Max Toro


Current Thread