From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,39771953fe5b2343 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,39771953fe5b2343 X-Google-Attributes: gid103376,public X-Google-Thread: 1025b4,39771953fe5b2343 X-Google-Attributes: gid1025b4,public From: Bertrand Meyer Subject: Re: New copying license for classes/modules: CGPL Date: 1997/09/16 Message-ID: <341EABAB.41C67EA6@eiffel.com>#1/1 X-Deja-AN: 272987650 References: <341A7F0E.66E46566@cistron.nl> Organization: Interactive Software Engineering Inc. Newsgroups: gnu.misc.discuss,comp.lang.eiffel,comp.lang.ada Date: 1997-09-16T00:00:00+00:00 List-Id: Robert Dewar wrote: > However, with Ada, the issue of generics does arise, not because text is > copied, but because the code is copied into your program, and for GNAT we > use a specially modified version of the GPL for the library that makes > clear that generics do not cause a problem: As far as I understand the discussion, the problem will not arise for Eiffel. The language is designed so that the code of generic classes need not be duplicated for different "generic derivations" of the same generic class (i.e. different types obtained by providing different generic parameters, as in LIST [BOAT] and LIST [PERSON]). Our implementation, and I believe others too, indeed do not duplicate the code in such cases. Nor is there any need to "copy the code into your program". (Please note that this observation includes no criticism or even mention of Ada; its intention is simply, since Robert Dewar's message was cross-posted to comp.lang.eiffel, to address his point insofar as they apply to Eiffel.) More generally I think that the idea of adapting the Gnu Public License to cover reusable O-O components is excellent. -- Bertrand Meyer, ISE Inc. ISE Building, 2nd floor, 270 Storke Road, Goleta CA 93117 805-685-1006, fax 805-685-6869, http://www.eiffel.com