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 X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-01 02:51:23 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!129.240.148.23!uio.no!ntnu.no!not-for-mail From: randhol+abuse@pvv.org (Preben Randhol) Newsgroups: comp.lang.ada Subject: Re: How to make Ada a dominant language Date: Wed, 1 Aug 2001 09:51:22 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3B676974.C80C72E5@sneakemail.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 996659482 9482 129.241.83.82 (1 Aug 2001 09:51:22 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 1 Aug 2001 09:51:22 +0000 (UTC) User-Agent: slrn/0.9.7.1 (Linux) Xref: archiver1.google.com comp.lang.ada:10928 Date: 2001-08-01T09:51:22+00:00 List-Id: On Tue, 31 Jul 2001 19:29:08 -0700, Russ wrote: > I have a colleague who started programming in Fortran way back in the > sixties (maybe even the fifties). He is a master algorithm developer and [...] > All those semicolons are > nothing more than a lot of noise. They are litter in your code, and if > you never minded them at all, then your code is probably filled with > lots of other litter too. If so, I hope it is not being used in any > safety-critical systems. Clearly you don't know what you talk about. Which is more readable (taken from a program I develop) : Your proposal (note if one use an editor that has wrapping on one will screw up the code as it will put this _one_ line on several) Button_Callback.Connect (Gui_Result.Practise_More_Button, "clicked", Button_Callback.To_Marshaller (On_Practise_More_Button_Clicked'Access)) As you can see it is almost impossible to fit it within the horisontal viewport of the editor, and it is not an exception. Ada way with ; Button_Callback.Connect (Gui_Result.Practise_More_Button, "clicked", Button_Callback.To_Marshaller (On_Practise_More_Button_Clicked'Access)); Of course if you talk about Fortran 77 this cannot be coded and the variable would have really meaningful names like: PRXMBTN -- Practise_More_Button FORTRAN 77 is probably one of the worser languages (apart from Perl and flavours) to make readable code in because of the limitations on the number of characters one can use for a variable name and that hopelessly idiotic automatic type casting which produces loads and loads of errors that are very hard to find. I really hope that F77 isn't used in any safety-critical systems. Preben -- �Don't use C; In my opinion, C is a library programming language not an app programming language.� - Owen Taylor (GTK+ developer) Use Ada 95, a free language. More info at http://www.adapower.com/