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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,971aa11c293c3db1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-19 10:13:58 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!news.man.lodz.pl!newsfeed.silweb.pl!news.tpi.pl!not-for-mail From: taw@pb220.legnica.sdi.tpnet.pl (Tomasz Wegrzanowski) Newsgroups: comp.lang.ada Subject: Re: Ada The Best Language? Date: 19 Jul 2001 17:10:16 GMT Organization: tp.internet - http://www.tpi.pl Message-ID: <9j749o$lmp$7@news.tpi.pl> References: <3B59CD72@MailAndNews.com> Reply-To: taw@users.sourceforge.net NNTP-Posting-Host: pb220.legnica.sdi.tpnet.pl X-Trace: news.tpi.pl 995562616 22233 213.25.230.220 (19 Jul 2001 17:10:16 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: 19 Jul 2001 17:10:16 GMT User-Agent: slrn/0.9.7.1 (Linux) Xref: archiver1.google.com comp.lang.ada:10261 Date: 2001-07-19T17:10:16+00:00 List-Id: In article <3B59CD72@MailAndNews.com>, Vinzent Hoefler wrote: >>- less freely available real-world example code > > I won't need a complete Linux Kernel written in Ada to get familiar with > the language. Well, at least some AdaApache ... >>- very verbose syntax > > That's what I like in Ada. You see the code. You read the code. You see what > it does. You understand it. > > I find "A := A mod 100;" much more readable than "A%=100;" > > It says what it does, even if you don't know almost nothing about the > language. Is that a negative? You can read and _understand_ the code even if > you don't read the comments if some there are at all[*]. The problem seems > to be that most programmers are lazy when writing code. OTOH, they then wish > their colleagues to hell when they have to maintain the code until they > realize > that it was their own code. :) > > [*] I understand that most Ada programmers probably have a better style in > code documentation anyway. So that's not really a point. :) I don't care if someone who don't know the language can read it. `operator=' improves readability if left side is non-trivial. Example: A->foo[1].start.x = A->foo[1].start.x % 640; A->foo[1].start.x %= 640; >>- no printf or equivalent > > Oohooh. You don't really need a debugger. ;-) It's not for debugging. printf-like functions take much, much less code than Ada Text_IO. > BTW, printf() almost never does what it looks like. > > printf("The value is %l", some_value); > > Quite correct C, IIRC. Are you sure, if it gives you the correct result? There's no such formant `%l'. Compiler (at least gcc) warns when you screw formants.