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,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-30 14:26:10 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: mancel@techno.sk (Milan Mancel) Newsgroups: comp.lang.ada Subject: Re: How to make Ada a dominant language Date: 30 Jul 2001 14:26:10 -0700 Organization: http://groups.google.com/ Message-ID: References: <3B6555ED.9B0B0420@sneakemail.com> <9k3l9r$10i2$1@pa.aaanet.ru> <3B656345.64AB603A@sneakemail.com> <9k3oa1$2qg8$1@pa.aaanet.ru> <3B657715.7EC592D9@sneakemail.com> <3B6588FC.6D40C443@sneakemail.com> <87snfe9sir.fsf@520075220525-0001.dialin.t-online.de> NNTP-Posting-Host: 212.89.225.16 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 996528370 16167 127.0.0.1 (30 Jul 2001 21:26:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 30 Jul 2001 21:26:10 GMT Xref: archiver1.google.com comp.lang.ada:10785 Date: 2001-07-30T21:26:10+00:00 List-Id: I am new to Ada too, learning just for few weeks and I do not think that there is any problem with Ada95 syntax. Well, I am not newbie to programming, in my professional career I had to use many languages (Fortran, Forth ...) and now I use Java, Python and C/C++ and I am ready to try whatever interesting comes next and accept its syntax :) When I started with Ada, I really had problem with statements like count: integer := 0; - well maybe for five seconds. Then I accepted that things are that way and that it is pretty logical: - you say that count is integer and it si zero - you see variables first and only if you need to know the type you read the second word on the line I think if someone is not able to grasp this simple thing will not be able understand more important parts of Ada and it is good for him/her not to try further. The other thing - elimitating keyword "end" - no way! When I program in Java, my code looks like: public int someMethod() { blahblahblah ... ... } // end someMethod so I like Ada the way it is. If you want indentation part of the language, just use command line switch in gnatmake and incorrect indentation will generate an style error - so you are forced to use the right style. := versus =, all the years I hate C and Java style, == is illogical. = means equals. From historical reason C wanted to save every byte of source code - and you assign more frequently than compare equality, so with == for equality and = for assignment you save valuable bytes. Thats is all to it. Problem is that programmers are acustommed to this. What really puts people off Ada is that they cannot hack code like in C. In Ada you have to think first. You have to think of correct types and subtypes for you data and variables first, otherwise you even cannot pass them to library functions and procedures as parameters. Ada is not good for testing algorithms or quick hacking. I think that good combination is Python for prototyping and Ada for final code. What I really miss is good and short example code of every Ada concept and maybe more libraries and bindings. Milan