comp.lang.ada
 help / color / mirror / Atom feed
From: The Amorphous Mass <robinson@blue.weeg.uiowa.edu>
Subject: Re: next "big" language?? (disagree)
Date: 1996/06/05
Date: 1996-06-05T00:00:00+00:00	[thread overview]
Message-ID: <Pine.A32.3.91.960605125414.52816K-100000@black.weeg.uiowa.edu> (raw)
In-Reply-To: 4p3k86$k4a@btmpjg.god.bel.alcatel.be


On 5 Jun 1996, Ian Ward wrote:

> On June the Fourth, 1996, James Robinson (The Amorphous Mass) wrote
> ---
> 
> > Those of us lone programmers who put speed and space at a premimum
> > are willing to go hunting for stray pointers as a necessary cost
> > of using a small, fast language.
> 
> If I hear the implication that Ada is not fast just one more time
> I think I will scream.

  I was not implying that Ada executables are slow (although your 
complaint is understandable -- I should have said "a language that 
allows for a small, fast environment").  I was trying to say that the 
environment and compile times for Ada would be big and/or slow, for the 
simple reason that the language offers a great deal more support than C 
does.  As I have said in this thread I'm sure Ada is just as subject to 
efficient compiling and optimizing techniques as other languages are, and 
almost as fast as C. :-)

[re: "reusable code modules"]
> >   They're also one of the great dangers of the future.  I keep a fairly 
> > substantial library of useful little functions that I've written over the 
> > 3 or so years I've been programming in C, and their reusability is greatly 
> > enhanced by the fact that I can tweak the code a little for particular 
> > applications.  By contrast, at work we're trying to get this souped-up OO 
> > development platform to talk to an edits package written in C (the 
> > development platform is written in C++) and we keep getting errors 
> > concerning classes that we didn't know existed, whose purpose is completely 
> > unknown to us and undocumented, apropos problems that no amount of 
> > debugging has revealed sofar, because the code and the interface is at 
> > such a high level that the programmer only has the most notional control 
> > over what's actually happening.  The classes will doubtless get used 
> > over and over again, but too much of our development time consists of 
> > waiting for support to call back.
> >  I'm thus wary of the idea of "code reuse." Not dismissive, just wary.
> 
> The first question, James, I must ask is, is C++ your idea of an alternative?

  No.  C++ is great fun to play with but I don't consider it an 
attractive alternative because it's far too easy to shoot yourself in 
the foot, and because it's a write-your-own-language language that can 
make reading or modifying someone else's code a nontrivial exercize.  I was 
thinking more along the lines of Mercury or Miranda or even Delphi, or 
(arguably) the resurgent PL/I.  This is not to say that C++ is not useful 
for development, but the programmer has to be very thorough and very careful.

> You say that Ada is not the only big, safe, feature laden, industrial-
> strength language, (mischien) but then go on to give actual real
> evidence as why C++ isn't.

  You assume that I am comparing Ada to C++.  I am not.  Given the 
choice as a dev. platform, I would probably pick Ada.  I was comparing Ada 
to C, which is an apples and oranges comparison, with the explicit intent of 
demonstrating that sometimes you want an apple and sometimes you want an 
orange. :-)

> Software reuse is not the problem, and neither is Object oriented
> design. In this case of yours, it appears that it is a bad implementation
> of C++ that seems to be behind it. Of course, at this point we can go
> into how it came to be a bad implementation.

  It's a perfectly fine, even ingenious implementation.If anything, it's 
a sterling example of a well-written C++ application.  When you 
work within its parameters it runs beautifully, even distributed across 
platforms running 4 different OSs.  When you try to stretch its 
capabilities (which is what we're doing) then you start to see all the 
stuff that's supposed to be 'transparent.'  That was my point, and that 
_is_ a problem with software reuse, and a risk with OO design.

> I am not going to though, I will simply say that if I were to end up
> using software, where in the background, side effects of it were
> detrimentally affecting mine, that I could not even find, then I WOULD
> use something else. Bruce Lee said, "If it works, use it." It clearly
> is not working. Anything else must be better? Why are you not trying
> to convince your boss to use something else? Anything else?

  Frankly, I can't think of anything better.  We looked all over, and 
this is the best there was.  Remember, the problem is not that it fails 
to work as advertized, and it is not that it is unstable or buggy or 
unpredictable.  The problem is that if you try to do something a little 
bit different from what it's designed for it stops being friendly and 
starts being obscure.  By contrast, if I want one of my C libraries 
to do something a bit different, I just go in and modify them.

  Does my argument make more sense to you now?

 --James Robinson (robinson@cs.uiowa.edu -or- james-robinson@uiowa.edu)
/*   Indeed, C++ is a bit of an oddball of a language ... given the way that *
 * it requires private parts to be visible.  This increases the strength of  *
 * coupling dramatically...                       -- Dr. Rich Artym          */




  reply	other threads:[~1996-06-05  0:00 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4p0fdd$4ml@news.atlantic.net>
1996-06-04  0:00 ` next "big" language?? (disagree) Peter Hermann
1996-06-04  0:00   ` The Amorphous Mass
1996-06-04  0:00     ` Robert Dewar
1996-06-06  0:00       ` Ken Garlington
1996-06-12  0:00       ` Help making ada pretty CSC Trusted Systems Group
1996-06-14  0:00         ` Sandy McPherson
1996-06-19  0:00         ` Ruediger Berlich
1996-06-04  0:00     ` next "big" language?? (disagree) Peter Hermann
1996-06-04  0:00       ` The Amorphous Mass
1996-06-05  0:00         ` Michael David WINIKOFF
1996-06-07  0:00           ` Robert Dewar
1996-06-05  0:00     ` Ian Ward
1996-06-05  0:00       ` The Amorphous Mass [this message]
1996-06-08  0:00         ` Robert Dewar
1996-06-08  0:00         ` Robert Dewar
1996-06-08  0:00           ` The Amorphous Mass
1996-06-09  0:00             ` Robert Dewar
1996-06-05  0:00   ` ++           robin
1996-06-05  0:00     ` Ian Ward
1996-06-05  0:00       ` Ian Ward
1996-06-06  0:00         ` Richard Riehle
1996-06-07  0:00           ` Richard Riehle
1996-06-08  0:00             ` O'Connor
1996-06-07  0:00           ` Robert Dewar
1996-06-10  0:00             ` Richard Riehle
1996-06-11  0:00           ` ++           robin
1996-06-11  0:00             ` David Weller
1996-06-11  0:00             ` Chris Warack <sys mgr>
1996-06-11  0:00             ` James_Rogers
1996-06-11  0:00               ` Kevin J. Weise
1996-06-11  0:00         ` ++           robin
1996-06-11  0:00           ` Ian Ward
1996-06-12  0:00             ` ++           robin
1996-06-12  0:00               ` Ian Ward
1996-06-11  0:00       ` Jon S Anthony
     [not found]   ` <4p60nk$imd@euas20.eua.ericsson.se>
     [not found]     ` <4p8lmq$oq7@goanna.cs.rmit.edu.au>
1996-06-11  0:00       ` ++           robin
1996-06-11  0:00         ` A. Grant
1996-06-12  0:00           ` ++           robin
1996-06-12  0:00             ` A. Grant
1996-06-14  0:00               ` Richard A. O'Keefe
1996-06-12  0:00           ` Robert Dewar
1996-06-17  0:00             ` A. Grant
1996-06-18  0:00               ` Robert Dewar
1996-06-24  0:00                 ` Robert I. Eachus
1996-06-26  0:00                   ` Norman H. Cohen
1996-06-19  0:00             ` Jon S Anthony
1996-06-20  0:00               ` Robert Dewar
1996-06-24  0:00                 ` Adam Beneschan
1996-06-24  0:00                 ` Keith Thompson
1996-06-25  0:00                   ` Robert A Duff
1996-06-25  0:00                   ` Simon Read
1996-06-24  0:00                 ` Dale Stanbrough
1996-06-24  0:00                   ` Robert Dewar
1996-06-24  0:00                   ` Adam Beneschan
1996-06-24  0:00                   ` hopkinc
1996-06-24  0:00                   ` Lars Duening
1996-06-24  0:00                   ` Assertions (was: Re: next "big" language?? (disagree)) Robert A Duff
1996-06-24  0:00                     ` Robert Dewar
1996-06-25  0:00                       ` Robert A Duff
1996-06-28  0:00                         ` Robert Dewar
1996-06-24  0:00                     ` Assertions (a different intent?) Gary McKee
     [not found]                     ` <4qrljg$15l8@watnews1.watson.ibm.com>
1996-06-28  0:00                       ` Assertions (was: Re: next "big" language?? (disagree)) Robert Dewar
1996-06-26  0:00                   ` next "big" language?? (disagree) Marc C. Brooks
1996-06-26  0:00                   ` Marc C. Brooks
     [not found]                   ` <4qsbm7$r1s@Starbase.NeoSoft.COM>
1996-06-28  0:00                     ` "Assert"? "Assume"? (was: next "big" language?? (disagree)) Alexander Bunkenburg
1996-06-28  0:00                       ` Ian Collier
1996-07-01  0:00                     ` Cameron Laird
1996-06-25  0:00                 ` next "big" language?? (disagree) Brian Nettleton @pulsar
1996-06-26  0:00                   ` Robert Dewar
1996-06-28  0:00                     ` Fergus Henderson
1996-06-28  0:00                       ` Robert Dewar
1996-06-30  0:00                         ` Fergus Henderson
1996-06-30  0:00                           ` Robert Dewar
1996-06-25  0:00                 ` Darin Johnson
1996-06-26  0:00                   ` Dale Stanbrough
1996-06-26  0:00                   ` A. Grant
1996-06-12  0:00         ` Richard A. O'Keefe
1996-06-12  0:00           ` ++           robin
1996-06-12  0:00             ` Richard A. O'Keefe
1996-06-13  0:00               ` ++           robin
1996-06-13  0:00               ` ++           robin
1996-06-12  0:00   ` Jon S Anthony
1996-06-14  0:00   ` Jon S Anthony
1996-06-15  0:00   ` Jon S Anthony
1996-06-18  0:00     ` Adam Beneschan
1996-06-18  0:00   ` Jon S Anthony
1996-06-28  0:00     ` Assertions (an heretic view) Michel Gauthier
1996-06-28  0:00       ` Robert A Duff
1996-06-28  0:00       ` Robert Dewar
1996-06-06  0:00 ` next "big" language?? (disagree) Dale Pontius
1996-06-11  0:00 ` Jon S Anthony
1996-06-12  0:00 ` Help making ada pretty Pedro de las Heras
1996-06-18  0:00 ` next "big" language?? (disagree) ++           robin
1996-06-07  0:00 Ian Ward
1996-06-08  0:00 ` O'Connor
1996-06-10  0:00   ` Matt Kennel
1996-06-11  0:00     ` Robb Nebbe
1996-06-11  0:00     ` Ian Ward
1996-06-12  0:00       ` Norman H. Cohen
1996-06-09  0:00 ` Robert Dewar
replies disabled

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