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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,208279d79d40e7d8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-26 15:28:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer1.atl.newshosting.com!63.218.45.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny03.gnilink.net.POSTED!53ab2750!not-for-mail From: "Stephane Richard" Newsgroups: comp.lang.ada References: Subject: Re: Ada Advocacy. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <7aR2b.4121$Xw6.1358@nwrdny03.gnilink.net> Date: Tue, 26 Aug 2003 22:28:19 GMT NNTP-Posting-Host: 129.44.81.202 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny03.gnilink.net 1061936899 129.44.81.202 (Tue, 26 Aug 2003 18:28:19 EDT) NNTP-Posting-Date: Tue, 26 Aug 2003 18:28:19 EDT Xref: archiver1.google.com comp.lang.ada:41871 Date: 2003-08-26T22:28:19+00:00 List-Id: "Luke A. Guest" wrote in message news:pan.2003.08.26.21.20.35.693597@__n_o_s_p_a_m__abyss2.demon.co.uk... > On Tue, 26 Aug 2003 20:33:29 +0000, Stephane Richard wrote: > > > Hi everyone, > > > > In the goal to boost the Ada programming language, along with the making of > > my website, I'm looking for either documents, or links to comparisons > > between ada and other languages, description of Ada features that set it > > apart from other languages, basically any kind of PR there is out there > > about Ada. > > Not an URL, but something that I and other programmers have always wanted > to do in C/C++/etc. but cannot is the printing of names of variables ;-) > > That's a damn nice debugging feature. It's been a while but I think it's > something like > > declare > test : Integer := 5; > begin > -- I'm really unsure about the overloaded + operator here, like I said > -- it's been a while (around 6 years!) > Write test'Name + " = " + test; > end > > should send "test = 5" to the console. > > Something like that anyway ;-P Try doing that in C/C++ without a lookup > table :-( > > Another thing that's really useful is being able to declare the range of, > say, an integer variable - and with bounds checking it gets caught at > compile & runtime (depending on whether it's accessed with a constant or > not). > > The only downside to Ada is the amount of work that has to go into a > simple program just to dump out some text (not very good for beginners) to > the console. > > Also meaningful names negates the need for the absolutely disgusting > hungarian notation. > > I loved Ada at university and I'm really surprised that it's still not > really used as much as it should be. > > Luke. > Excellent input Luke, Indeed, a language like Ada should be used alot more than what I'm seeing today. It's part of the goal of the website I'm creating, to promote Ada,. so all the good sides like those you mentionned here are excellent points. Oh and as for that one downside. I dont recall ever reading anywhere that C and C++ were a "beginner's" language ;-). Even if things have changed today and they teach C/C++ in computer schools, me I learned on Pascal, and the structure you needed to have in Pascal made for very readable code. Ada being a superset of Pascal, takes this easy maintainability aspect of Pascal to the next level. Making projects tha much more easier to read and maintain. It's definitaly not as cryptic as C and C++ have the potential to be (believe me, I've seen C code that almost made me wanna give up some important parts of my anatomy. ;-). Since Ada has a somewhat predefined if you will structure like you say, if the variables are named reasonability clear, then it only makes the whole code that much clearer and quicker to maintain. Thanks again for the input.....and if, in the course of time, something else pops in your head, let me know :-)....you and anyone else :-)...even little things like what Luke said are quite important advantages to Ada. -- St�phane Richard Senior Software and Technology Supervisor http://www.totalweb-inc.com For all your hosting and related needs