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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d89b08801f2aacae X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-03 05:16:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!news.voicenet.com!nntp.upenn.edu!msunews!not-for-mail From: "Chad R. Meiners" Newsgroups: comp.lang.ada Subject: Re: Is strong typing worth the cost? Date: Fri, 3 May 2002 08:11:09 -0400 Organization: Michigan State University Message-ID: References: <4519e058.0204290722.2189008@posting.google.com> <3CCE8523.6F2E721C@earthlink.net> <3CCEB246.9090009@worldnet.att.net> <3CCFD76A.A60BB9A8@flash.net> <3CD0A3B8.7B7C8622@san.rr.com> <3CD15FAE.6DEE0AD@despammed.com> <3CD16B60.93078396@san.rr.com> <3CD1B496.DBE8ADC4@san.rr.com> <3CD1DE85.C00AD2A9@san.rr.com> NNTP-Posting-Host: schubert.cse.msu.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:23488 Date: 2002-05-03T08:11:09-04:00 List-Id: You mentioned dividing one type into two and claimed that you had to X cost when it should be Y. For this you could be break the one type into three types thus keeping Name as a generic placeholder for 'don't care' while deriving Current_Name and Maiden_Name from Name. Although this in some cases may not be a elegant solution; after reading a primer about XP, I have discovered XP is in some ways against elegant solutions so this just in time hack should be very appropriate. ;-) (I wonder what happens when you throw a non-obviously NP-Complete problem at the XP process infinite loop, perhaps? ;-) You failed to show how strong typing must slow you down in XP. You can always elect not to define a type or you could define an object type that you derive all of your types from. You showed how you could slow yourself down intentionally by using strong typing, but you clearly failed to show how strong typing in and of itself slows you down in XP. "Darren New" wrote in message news:3CD1DE85.C00AD2A9@san.rr.com... > I think I did a fairly good job of showing how it slows down the extreme > programmer. You just snipped it out. In what way did I fail to address > your questions? >