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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c019ad9cc913bbe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-19 07:35:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!area.cu.mi.it!newsfeeder.edisontel.com!fu-berlin.de!uni-berlin.de!b9ac8.pppool.DE!not-for-mail From: Dmitry A.Kazakov Newsgroups: comp.lang.ada Subject: Re: The Dreaded "Missing Subunits" Date: Fri, 20 Sep 2002 04:42:36 +0200 Message-ID: References: <1b585154.0209121449.ef12609@posting.google.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: b9ac8.pppool.de (213.7.154.200) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1032446111 4818855 213.7.154.200 (16 [77047]) User-Agent: KNode/0.4 Xref: archiver1.google.com comp.lang.ada:29175 Date: 2002-09-20T04:42:36+02:00 List-Id: Preben Randhol wrote: > On Thu, 19 Sep 2002 23:49:06 +0200, Dmitry A.Kazakov wrote: >> Can somebody explain why those nasty .ads/.adb appeared? Is that a big >> deal to detect the word "body" in the source code? Why files cannot be >> just .ada? If I wish to separate specifications and bodies, well, since >> RSX-11M all operating systems have subfolders... > > Come on what is so nasty with .adb .ads? Not so nasty if you start a new project. But I remember how it took two days or so to rename all files while porting a project from DEC Ada to GNAT. It was not only file extensions. For the sake of portability all files names were 8-letters long. Well, it appeared a little bit less portable than we expected! (:-)) > I find it easier to read .ads > files in order to see which functions/procedures the package provides. > If you have a .ada file you will have to jump up and down a lot. True, but in a medium-sized project it becomes either disastrous. Good navigation tools and IDE are indispensable. > Besides don't you get the with-ing problem with .ada? Why? It worked with Ada 83, why shouldn't it with Ada 95. -- Regards, Dmitry Kazakov www.dmitry-kazakov.de