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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54c513170bafd693 X-Google-Attributes: gid103376,public From: Brian Rogoff Subject: Re: Desirability of C++ Date: 2000/05/01 Message-ID: #1/1 X-Deja-AN: 617979547 References: <7EA1B852F5D4D8C6.26EEE9181C80F0DF.0161EA2D9C353253@lp.airnews.net> <01HW.B51C1B6E00F41C2D04BB51B0@news.pacbell.net> <38F796B2.A99A206A@ftw.rsc.raytheon.com> <38F7A27A.4F7729FA@raytheon.com> <8eclae$afj$1@slb7.atl.mindspring.net> <4F706057FEE2A550.BF5FE19AE279EFCD.A55706B3F9D07043@lp.airnews.net> <8eiv08$820$1@slb1.atl.mindspring.net> <390D001C.7433140B@netwood.net> <390D58F9.7CC64B85@maths.unine.ch> <390DDA32.BDC215E8@maths.unine.ch> Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: nntp1.ba.best.com 957212204 227 bpr@206.184.139.136 MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-01T00:00:00+00:00 List-Id: On Mon, 1 May 2000, Gautier wrote: > Hyman Rosen: > > While C++ syntax can sometimes be abysmal, I am 100% convinced that the > > main reason for the lack of Ada's popularity is its Pascal-derived syntax. Hard to believe. Turbo Pascal/Delphi, as Gautier points out, and even VB uses BEGIN/END. > > Even after many attempts, I still can't look at a chunk of Ada code > > without my eyes swimming from the mass of undifferentiated text. A colorizing editor might help here. I use Emacs, but I believe VIM also has this ability. I am actually somewhat in agreement with your complaint, and I wish there were more available operators in Ada, and that arrays used "[]", etc. Still, superficial syntactic annoyances are really not that important. > Hum... and how do you explain the huge popularity of Turbo/Borland Pascal ? > The lack of Ada's popularity until the past few years (thanks to GNAT) is > rather due to the refrigerating effect of the policy the DoD had - IMHO. This sounds closer to the truth... > And the fact Ada came too early for the 16-bit, low Mhz personal computer wave. And this even more so. Masses of programmers were trained on small machines which had C compilers but not Ada compilers. When the machines got bigger they probably found it easier to switch to C++ which was a fairly small language in the mid-1980s. > About syntax: I think it's rather a question of personal taste and practice. > > Is it worse to have the eye swimming from an ill-formatted over-uppercased > Ada source I think Hyman's complaint has more to do with the fact that "punctuation" in Ada looks like regular text, than with formatting issues, and that his eyes would swim from well formatted code too. As I said, colorization or even bold/italics/... would help a lot with this issue. -- Brian