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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,9a0ff0bffdf63657 X-Google-Attributes: gidfac41,public X-Google-Thread: 1108a1,9a0ff0bffdf63657 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,4b06f8f15f01a568 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,9a0ff0bffdf63657 X-Google-Attributes: gidf43e6,public From: "John G. Volan" Subject: Re: Module size (was Re: Software landmines) Date: 1998/09/04 Message-ID: <35F022A5.1D54E53C@ac3i.dseg.ti.com>#1/1 X-Deja-AN: 387900171 Content-Transfer-Encoding: 7bit References: <6snlos$bh6$1@hirame.wwa.com> <904912650snz@nezumi.demon.co.uk> <35EFFB78.21BBBED6@ksc.nasa.gov> Content-Type: text/plain; charset=us-ascii Organization: Raytheon Systems Company, Advanced C3I Systems Mime-Version: 1.0 Reply-To: johnvolan@sprintmail.com Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.lang.ada Date: 1998-09-04T00:00:00+00:00 List-Id: Christopher P. Gariepy wrote: > > I'm fairly new to the OO methodology, and I can see a reason to, perhaps,have > methods with 1 line of code - especially if the method is used in > numerous places. > > But...I see no reason to have methods that contain no code at all, even if > they're meant for place-holders. I believe this could potentially create > a maintenance nightmare if the original designers of the system are not > involved in the maintenance of the system. What about abstract methods (C++ pure virtual member functions; Eiffel deferred features)? Those don't have any "lines of code", if by that you mean executable statements. But being able to write abstract classes is a crucial part of the O-O method. -- indexing description: "Signatures for John Volan" self_plug: "Ex Ada guru", "Java 1.1 Certified", "Eiffelist wannabe" two_cents: "Java would be even cooler with Eiffel's generics, % %assertions/DBC, true MI, feature adaptation, % %selective export, uniform access, etc., etc..." class JOHN_VOLAN_SIGNATURE inherit SIGNATURE invariant disclaimer: not (opinion implies employer.opinion) end -- class JOHN_VOLAN_SIGNATURE