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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,76ec5d55630beb71,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-01 14:37:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!usenet-fr.net!enst.fr!not-for-mail From: And838N@netscape.net Newsgroups: comp.lang.ada Subject: Ada 200X Date: Sun, 01 Jun 2003 17:36:27 -0400 Organization: ENST, France Message-ID: NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1054503444 98687 137.194.161.2 (1 Jun 2003 21:37:24 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 1 Jun 2003 21:37:24 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: Atlas Mailer 2.0 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:38296 Date: 2003-06-01T17:36:27-04:00 Warren W. Gay wrote: >...I think many would be happy to break that rule for >GNAT.IO_Aux.Get_Line, since >there is no other way to read in a Ada string without knowing in >advance its size... >For my $0.02 worth, the scalars don't matter. The string is the problem >child that needs a solution. I'm pretty new to Ada but I have been using and tutoring C,C++, Java for over 5 years now. When I decided to "try out" Ada one of the first things I noticed was the String problem as Warren described. My solutions was to write procedures (functions) in a package that took a parameter of type String, then overloaded that procedure to use Unbounded_String and so on so that I could use whatever I was comfortable with. I even overloaded procedures and functions to take the String_Access. Anyway, my point is, for users coming out of C, C++, Java, like me, it would be a TREMENDOUS help to make the "String" transition easier. There was one other issue I came across when writing my first Linked list in Ada. There is no "this" keyword. It didn't take long for me to realize that a class in Ada is not at all like a class as I understand from college (C++, Java). The "flavor" of an Ada was C struct like to me and required passing "my" instance as a parameter to a procedure of function in a package so that I could use "this". My view may be somewhat biased because I'm new to Ada but the idea of an Ada class doesn't seem like a class to me at all. It seems like putting a bunch of C methods and a struct definition into a .c file and compiling it and calling it a class. There's obviously more to Ada than that but I described how it "seemed" for someone trying to move to Ada. My purpose for moving to Ada is all the hype about reducing the cost of maintenance and the quicker development time. I read a bunch of articles on how Ada is superior to other languages because once you learn it your development goes quicker and the end result requires less maintenance. Two key things if I want to play in a global market against "inexpensive" programmers/engineering firms in places like India. I've heard professors say they don't like Ada because it's slow and does all those "bounds" checking "things". My opinion is; take a look at the bugs in MS code that lead to viruses because of buffer exploits and unchecked "bounds". Ada just seems a smart way to go, especially with newer faster processors. Most people don't recognize the speed up anyway unless the go from 300MHz to a 2.4GHz. I've been working with Ada seriously for about a month now and the more I learn the more I like it. It does not have the flavor of a "business" type language, even though it is perfectly useable for such applications. But sometimes the "flavor" of the language is almost as important as the language itself! Especially if you want to open the "market" up. Making Ada easy to transition to would be something to consider in Ada200X, IMHBiasedO. Ok, so now I am up to 4 cents. Thanks! Andrew __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455