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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c459ff0adb576bc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-08 01:28:52 PST From: "Martin Dowie" Newsgroups: comp.lang.ada References: <3C5AB0B7.9D75D49A@grammatech.com> Subject: Re: Refactoring and Ada Date: Fri, 8 Feb 2002 09:24:17 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: ed125012.sd.edinbr.gmav.gecm.com Message-ID: <3c639940@pull.gecm.com> X-Trace: 8 Feb 2002 09:24:16 GMT, ed125012.sd.edinbr.gmav.gecm.com Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!ed125012.sd.edinbr.gmav.gecm.com Xref: archiver1.google.com comp.lang.ada:19758 Date: 2002-02-08T09:24:17+00:00 List-Id: > I am especially interested in any use of refactoring in support of > legacy code, either to clean up code that has been automatically > translated to Ada, or to prepare Ada code so that it can be translated > more easily into something else. How about removing the 'confirming enumeration rep specs' that are no longer necessary in Ada95? e.g. from: type An_Enumeration is (Foo, Bar); for An_Enumeration is (Foo => 0, Bar => 1); to: type An_Enumeration is (Foo, Bar);