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-Thread: 103376,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: How come Ada isn't more popular? References: <1169531612.200010.153120@38g2000cwa.googlegroups.com> <1169588206.234714.312650@k78g2000cwa.googlegroups.com> <1169624573.534128.172610@s48g2000cws.googlegroups.com> <87sle0sv9o.fsf@ludovic-brenta.org> From: Markus E Leypold Organization: N/A Date: Wed, 24 Jan 2007 13:12:22 +0100 Message-ID: User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:vJZr53YDm4TbuArU8zmRZanQ2l4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 88.72.216.226 X-Trace: news.arcor-ip.de 1169640467 88.72.216.226 (24 Jan 2007 13:07:47 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.unit0.net!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:8477 Date: 2007-01-24T13:12:22+01:00 List-Id: Hi Ludovic, Ludovic Brenta writes: > kevin cline writes: >> But the point was that expressiveness drives programmers to new >> languages, and Ada isn't particularly expressive. > > On the contrary, I think that Ada is the most expressive language > around. If I were in the business of language advocacy as some people in this thread obviously are, I'd now cry: "FUD!!" Anyway, I have to contradict. You'd have to restrict the scope of your statement a bit (to a special application area or a specific subset of all programming languages) for it to become true. I stipulate that languages with a Hindley-Milner type system and/or functional languages are, in many aspects, more expressive. Even more so, if they have modules, functors and classes (like OCaml) does. Or consider Haskell which is a VERY expressive language. Of course it all depends a bit on how you define "expressiveness". I do not want to denigrate Ada here. But I think judging the place of Ada in the world right is more important (or useful to Ada or the community) than claming ALL the superlatives for Ada. > procedure Set_Bit_In_Register (At_Address : in System.Address) is > type Register is array (1 .. 32) of Boolean; > pragma Pack (Register); > for Register'Bit_Order use System.High_Order_First; > pragma Volatile (Register); > > R : Register; > for R'Address use At_Address; > begin > Register (4) := True; > end; > > versus > > void set_bit_in_register (volatile unsigned long * at_address) > { > *at_address |= 2 << 3; > } You're sure you're not confusing verbosity with "expressiveness"? :-) Regards -- Markus