comp.lang.ada
 help / color / mirror / Atom feed
From: Lao Xiao Hai <laoxhai@ix.netcom.com>
Subject: Re: Problem trying to implement generics.
Date: Mon, 07 May 2001 22:40:09 -0700
Date: 2001-05-08T05:40:43+00:00	[thread overview]
Message-ID: <3AF786B8.7DE1215B@ix.netcom.com> (raw)
In-Reply-To: 9bi4g4$97m$1@nh.pace.co.uk



Marin David Condic wrote:

> The "+=", et alia, were basically invented by people who couldn't type. I'd
> rather opt for the clarity in the expression and not worry about all the
> interesting ways of representing it in fewer keystrokes. After all, on any
> given day of the week *I'm* not a "competent" C programmer! (Especially
> before coffee in the AM!) I don't want to work that hard to understand what
> I did yesterday when I was fully awake.

Each language has its syntactical conventions and it is simply a matter of
becoming comfortable with them.    I have even encountered a few unusual
people who disliked vi. :-)         If my memory has not failed me, I seem to
recall that the +=, ++, and certain other shorthand constructs originate on
the platform for which C was originally designed, the PDP-11.    The same
is true of many other C syntactic novelties.

When incorporated into an object-oriented language such as C++ or Java,
these constructs cease to be novelties and become borderline pathological.
Certainly, they are anachronistic.    Then again, I am composing this message
on a QWERTY keyboard instead of the more efficient DVORAK keyboard.
Change comes hard, even when the change is clearly an improvement.  The
design of C# seems to have eliminated a few of the original pathologies, but
not all.

We each have our own criteria for what makes a good programming language.
I like a language where the compiler can maximize the amount of error detection
as early in the development process as possible.   For the most part, the C
family of languages fails that test.  I like a language where, at run-time, I
can
hope for minimal surprise.   The C family of languages fails that test.    Some
prefer a language that is popular.   The C family of languages will pass that
test.   Others prefer one that is quick to code quick to get executable
programs,
properly working or not.   The C family of languages does fairly well in that
category.

In recent years, with the advent of better tools, we can now develop Ada
programs as quickly as C or C++.   With graphical tools, we can build
GUI's that compare favorably to MSF or Java Bytecode.   So, when I also
say, I prefer a language that is highly portable,  Ada fulfills that need
quite nicely.   I can think of no good reason I would want to "take up arms
against a sea of troubles" and convert to any of the C family of languages.






  parent reply	other threads:[~2001-05-08  5:40 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-11 15:04 Problem trying to implement generics Ayende Rahien
2001-04-12  1:41 ` tmoran
2001-04-12 13:15   ` Ayende Rahien
2001-04-12 18:15     ` tmoran
2001-04-13 11:18       ` Ayende Rahien
2001-04-13 10:35         ` chris.danx
2001-04-13 11:54           ` Ayende Rahien
2001-04-13 11:49             ` chris.danx
2001-04-13 23:03               ` Ayende Rahien
2001-04-13 23:01                 ` Robert A Duff
2001-04-14  0:05                   ` Brian Rogoff
2001-04-14  1:12                     ` Ayende Rahien
2001-04-14  1:44                       ` Brian Rogoff
2001-04-14 14:03                         ` Dmitry A. Kazakov
2001-04-14 16:30                           ` Ayende Rahien
2001-04-14 16:28                             ` Michael Erdmann
2001-04-15  3:27                             ` James Rogers
2001-04-15 12:20                               ` Ayende Rahien
2001-04-15 14:09                               ` Dmitry A. Kazakov
2001-04-15 18:22                                 ` tmoran
2001-04-15 13:48                             ` Dmitry A. Kazakov
2001-04-15 20:44                               ` Ayende Rahien
2001-04-16 14:34                                 ` Dmitry A. Kazakov
2001-04-14  1:33                     ` Robert A Duff
2001-04-17  8:50                     ` Jean-Pierre Rosen
2001-04-17 13:20                   ` Tucker Taft
2001-04-17 16:51                     ` Ayende Rahien
2001-04-17 17:16                       ` Larry Hazel
2001-04-17 18:11                         ` Brian Rogoff
2001-04-17 19:10                           ` Marin David Condic
2001-04-17 21:08                             ` Brian Rogoff
2001-04-18 15:16                               ` Chad R. Meiners
2001-04-18 16:33                                 ` Marin David Condic
2001-04-17 21:09                             ` chris.danx
2001-04-17 21:11                             ` chris.danx
2001-04-17 21:17                             ` chris.danx
2001-05-08  5:40                             ` Lao Xiao Hai [this message]
2001-05-11  9:43                               ` John English
2001-05-12 19:16                                 ` Lao Xiao Hai
2001-04-17 19:32                           ` Larry Hazel
2001-04-17 21:03                           ` Ayende Rahien
2001-04-18 15:48                             ` Brian Rogoff
2001-04-20 12:34                               ` Georg Bauhaus
2001-04-20 12:42                                 ` Lutz Donnerhacke
2001-04-20 12:45                                 ` Lutz Donnerhacke
2001-04-20 19:48                                 ` Brian Rogoff
2001-04-20 20:36                                   ` David Starner
2001-04-20 23:02                                   ` Robert A Duff
2001-04-23  2:45                                     ` Brian Rogoff
2001-04-24  1:15                                       ` Robert A Duff
2001-04-24  2:00                                         ` Brian Rogoff
2001-04-24 15:12                                           ` Georg Bauhaus
2001-04-24 15:09                                         ` Georg Bauhaus
2001-04-24 18:36                                           ` Marius Amado Alves
2001-04-19 13:08                           ` Larry Kilgallen
     [not found]                           ` <9bi4g4$97m$1@nh.pace.Organization: LJK Software <YlSyXUaQmD+$@eisner.encompasserve.org>
2001-04-19 14:20                             ` Marin David Condic
2001-04-18  5:34                       ` Mike Silva
2001-04-18 16:55                       ` Ray Blaak
2001-04-24 16:00                       ` Tucker Taft
2001-04-12 13:57 ` Andy
2001-04-13  6:34   ` Simon Wright
2001-04-13 11:11   ` Ayende Rahien
2001-04-12 18:06 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox