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 11:31:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Stefan Nobis Newsgroups: comp.lang.ada Subject: Re: How to make Ada a dominant language Date: 30 Jul 2001 20:22:38 +0200 Organization: ESN - EDV-Beratung, Sicherheit, Netzbetreuung Message-ID: <87wv4q9t01.fsf@520075220525-0001.dialin.t-online.de> References: <3B6555ED.9B0B0420@sneakemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 996517814 03 28513 qyVnSh9GS8AYxI 010730 18:30:14 X-Complaints-To: abuse@t-online.com X-Sender: 520075220525-0001@t-dialin.net Xref: archiver1.google.com comp.lang.ada:10779 Date: 2001-07-30T20:22:38+02:00 List-Id: Russ Paielli <18k11tm001@sneakemail.com> writes: > > I prefer the old way, as it is easier to read. > > I'll bet nine out of 10 non-Ada-programmers would disagree with you. And > that's part of the reason that nine out of ten programmers (or whatever) > are non-Ada-programmers. No, that's not the problem. =/==, block-building per indentation, type var-name or :=/=, begin/end, var-name type is just a matter of taste. It doesn't make programs easier or less easy to read. If a programmer has problems with one way, he should surely think about another job. > > Why is it so very important to use = to set a value and then == when you > > check it? I have not understood this. > > Because "=" is the simplest fricking symbol that could possibly be used Why is this so important? "=" is also the simplest symbol for comparing, so what? If you write code with many comparisons but few assignments, Ada would do great. :) In the above cases (=, indentation, type var-name) Python has different syntax than Ada. That's nice, i like Python's syntax. But what matter's really? Not this syntactic details but all the rest of the language. Why is Python so popular? Because it's simple and easy to learn, because it's not statically typed (-> easier to learn). The syntax of programming languages are never "natural" because they are no natural languages, they are in the best case an abbreviation of natural languages. > What I am proposing would not make programs "less readable." It would > make them MORE readable, especially for new Ada programmers. If No, the changes makes programs as readable as the actual syntax is. -- Until the next mail..., Stefan.