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,2c6139ce13be9980 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,3d3f20d31be1c33a X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,2c6139ce13be9980 X-Google-Attributes: gid1108a1,public X-Google-Thread: f43e6,2c6139ce13be9980 X-Google-Attributes: gidf43e6,public From: Mark Bennison Subject: Re: Design by Contract Date: 1997/08/28 Message-ID: <5u3dne$c20@gcsin3.geccs.gecm.com>#1/1 X-Deja-AN: 268728722 References: <33E9ADE9.4709@flash.net> <34023BC4.2781E494@eiffel.com> <3402d123.0@news.uni-ulm.de> <3402DA6A.C4444E46@calfp.co.uk> <340306E1.5FB64D70@XYZZYcalfp.com> Organization: GEC-Marconi Radar & Defence Systems Ltd Newsgroups: comp.object,comp.software-eng,comp.lang.ada,comp.lang.eiffel Date: 1997-08-28T00:00:00+00:00 List-Id: Richie Bielak wrote: >But you are making the assumption that a given module has only one interface. >This is not true in Eiffel, as a class can show a different interfaces to >different clients. Should all these interfaces be kept in separate files >(like in Java)? > >In presence of extraction tools, keeping a single file is easier. > Keeping a single file may well be 'easier' but it provides a configuration control nightmare. If you have anything but a small development team ( and by this I mean > 2 engineers ) then access to this single file becomes uncontrollable and there'll be several different versions of the same file that may ( or may not ) be divergent. At least by keeping things in separate files you can have allocated packages of work for engineers that do not directly affect the packages that other engineers are working on, even if they are the different interfaces to the same class. You also get engineers thinking about what the knock-on effects of changing the other interfaces would be rather than just doing it to solve their particular problem ( I would hope :-). Mark. (posted from comp.lang.ada) -- Mark Bennison, +-----------------------------------+ Technical Consultant, | All opinions expressed are my own | EASAMS Software Systems. +-----------------------------------+ "Death is a fickle hen, and random are her eggs" - Armando Iannucci Remove '.no.spam' to return e-mail