comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: The great Java showcase (re: 2nd historic mistake)
Date: 1997/08/29
Date: 1997-08-29T00:00:00+00:00	[thread overview]
Message-ID: <dewar.872872168@merv> (raw)
In-Reply-To: EFn8CI.D9p@ecf.toronto.edu


Patrick said

<<  That's a pretty cheap shot, Robert.  Plus, it's not necessarily
true.  There are applications that just beg for automatic memory
management, and if they happend upon one of these, they certainly
could have seen such an improvement.

  For my part, I'd guess that at least 40 to 50% of my time is
spent looking for memory allocation bugs in C++.

  If this isn't the case with you then, well, I suppose you're
just the greatest darn programmer in the whole world.>>


Well different people have different styles in programming. I personally
like programming, but hate debugging, so I perfer to spend my effort
getting this right to start with. But I realize others prefer to spend
their time debugging -- it's a matter of taste partly -- although I
suspect that a lot of people do spend far too much time with a debugger.

It's interesting to ask a roomful of C and C++ programmers how mnay of
them routinely use a dynamic debugger. You will get pretty much a 100%
response, plus a reaction that the question is curious.

If you ask the same question in a roomful of Ada programmers, you will
find a split, somewhere close to 50/50. 

That's partly a language difference, but also partly a style difference.

Particularly in C++, proper abstraction and encapsulation should make
it possible to minimize problems with dynamic allocation. Now I must
admit that most C and to somewhat lesser an extent C++ programmers
seem blissfully unaware of what abstraction is all about.

As for applications where you can get a factor of several productivtiy
improvement by using garbage collection, I think that is rubbish. Remember
I speak here as someone who fully knows the vale of garbage collection.
I wrote the SPITBOL systems (see the paper in SP&E, 1977, which describes
the interesting approach SPITBOL uses to GC), and was deeply involved in
the Algol-68 design.

So I know the advantage, and it is consderable, but the idea that GC alone
could cut down the time to design/document/code/test/integrate/productize
a product by a factor of several seems ludicrous to me.

Perhaps you are just talking about coding time -- even there the estimate
is way high.

You do NOT have to be the "greatest darn programmer in the whole world" to
avoid wasting 40-50% of your time looking for memory allocation bugs in
C++, you just need to create the proper abstractoins in the first place.

Now to be fair, you may well be spending this time on other people's
poorly written code, in which case the blame lies elsewhere.

But if you think my comment is a cheap shot, then you are far from being
sufficiently aware of what can be achieved by proper software process,
and this does NOT require super duper clever programmers, it is something
that can be achieved by good management, and good choice of techniques,
languages, and tools, with typical competent programmers, not super stars.





  parent reply	other threads:[~1997-08-29  0:00 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-25  0:00 The great Java showcase (re: 2nd historic mistake) Bertrand Meyer
1997-08-26  0:00 ` BruceMount
1997-08-28  0:00   ` Brett J. Stonier
     [not found]     ` <JSA.97Aug28182029@alexandria.organon.com>
     [not found]       ` <3406C150.3EE5EE0E@stratasys.com>
1997-08-29  0:00         ` Jon S Anthony
1997-08-29  0:00           ` Jay Martin
1997-08-29  0:00             ` Jon S Anthony
1997-09-02  0:00             ` W. Wesley Groleau x4923
1997-09-15  0:00       ` Tim Ottinger
     [not found]   ` <5u0nil$atg@mulga.cs.mu.OZ.AU>
1997-08-28  0:00     ` not
1997-08-28  0:00     ` Richard A. O'Keefe
     [not found]       ` <5u3o1n$hu5@mulga.cs.mu.OZ.AU>
1997-08-28  0:00         ` Nick Leaton
1997-09-15  0:00       ` Tim Ottinger
1997-09-16  0:00         ` W. Wesley Groleau x4923
1997-08-26  0:00 ` Flavius.Vespasianus
     [not found] ` <JSA.97Aug26153546@alexandria.organon.com>
     [not found]   ` <34034658.7DE14518@eiffel.com>
1997-08-27  0:00     ` Jon S Anthony
1997-08-27  0:00 ` James P. White
1997-08-27  0:00   ` Robert Dewar
     [not found]   ` <34047A7D.62319AC4@eiffel.com>
1997-08-27  0:00     ` Bertrand Meyer
1997-08-27  0:00       ` Matthew S. Whiting
1997-08-28  0:00         ` Flavius.Vespasianus
1997-08-28  0:00       ` Mike Coffin
1997-08-29  0:00         ` Robert Dewar
1997-08-30  0:00           ` James P. White
1997-08-31  0:00           ` Jon S Anthony
1997-08-28  0:00       ` James P. White
1997-08-29  0:00       ` Dennis Weldy
1997-09-03  0:00         ` Charles Ditzel
     [not found]   ` <01bcb38a$8ddc1200$1c10d30a@ntwneil>
1997-08-28  0:00     ` Robert Dewar
1997-08-28  0:00       ` James P. White
     [not found]         ` <EFnKuI.4rI@ecf.toronto.edu>
1997-08-29  0:00           ` Memory management techniques -- was Re: The great Java showcase Jon S Anthony
1997-08-30  0:00         ` The great Java showcase (re: 2nd historic mistake) Bert Bril
1997-08-31  0:00           ` Jay Martin
1997-08-29  0:00       ` Lee Webber
     [not found]       ` <EFn8CI.D9p@ecf.toronto.edu>
1997-08-29  0:00         ` Robert Dewar [this message]
1997-08-30  0:00           ` Patrick Doyle
1997-08-31  0:00           ` Jon S Anthony
1997-09-01  0:00             ` Robert Dewar
1997-09-02  0:00               ` Jon S Anthony
1997-09-05  0:00                 ` Robert Dewar
1997-09-06  0:00                   ` Jon S Anthony
1997-08-29  0:00         ` Arthur Nelson
1997-08-29  0:00           ` Patrick Doyle
1997-09-01  0:00             ` Robert Dewar
1997-08-29  0:00         ` Laurent Guerby
     [not found]           ` <EFonoz.AFC@ecf.toronto.edu>
1997-08-29  0:00             ` Samuel Mize
1997-08-29  0:00         ` Peter Hermann
1997-08-29  0:00       ` Mike Charlton
     [not found]         ` <N.19970829.uput@sisyphus.demon.co.uk>
1997-09-02  0:00           ` Mike Charlton
1997-09-03  0:00             ` Dave Sparks
1997-08-28  0:00     ` James P. White
1997-08-28  0:00     ` Robert Dewar
1997-08-29  0:00       ` Lee Webber
     [not found] ` <3402FD4D.C196785B@brightwood.com>
1997-08-27  0:00   ` Patrick Doyle
1997-08-28  0:00   ` Paul Johnson
1997-08-28  0:00     ` Jeff Brown
1997-08-28  0:00     ` Robert Dewar
1997-08-29  0:00       ` Paul Johnson
1997-08-28  0:00     ` Brett J. Stonier
     [not found] <5tvvsj$lh2$1@news2.digex.net>
1997-08-27  0:00 ` Jeff Brown
1997-08-28  0:00   ` Patrick Doyle
1997-08-28  0:00     ` Robert Dewar
1997-08-27  0:00 ` W. Wesley Groleau x4923
1997-08-27  0:00   ` W. Wesley Groleau x4923
1997-08-28  0:00 ` Brett J. Stonier
1997-08-28  0:00   ` Jon S Anthony
1997-08-29  0:00     ` James P. White
1997-08-29  0:00   ` Paul Johnson
1997-08-29  0:00     ` Brett J. Stonier
1997-08-29  0:00     ` Dennis Weldy
     [not found]     ` <5u6ovi$5kb$1@news2.digex.net>
1997-09-01  0:00       ` Paul Johnson
  -- strict thread matches above, loose matches on Subject: below --
1997-08-29  0:00 Ell
1997-08-29  0:00 Ell
1997-08-29  0:00 ` Robert Dewar
1997-08-29  0:00   ` Jay Martin
1997-08-30  0:00   ` Joachim Durchholz
1997-08-30  0:00   ` Patrick Doyle
1997-08-30  0:00     ` Jay Martin
1997-09-01  0:00   ` Paul Johnson
1997-09-01  0:00     ` Robert Dewar
1997-09-02  0:00       ` Veli-Pekka Nousiainen
1997-09-02  0:00       ` Martin Tom Brown
1997-09-02  0:00       ` Matthew S. Whiting
1997-09-03  0:00         ` Robert Munck
1997-09-05  0:00         ` Robert Dewar
1997-09-02  0:00       ` Jeff Kotula
1997-09-08  0:00       ` Richard A. O'Keefe
1997-09-13  0:00         ` Mark S. Hathaway
1997-09-16  0:00           ` Des  Kenny
1997-10-28  0:00           ` John English
1997-09-16  0:00         ` Des  Kenny
1997-09-16  0:00           ` Robert Dewar
1997-09-05  0:00     ` Darren New
1997-09-02  0:00   ` W. Wesley Groleau x4923
1997-09-05  0:00     ` Robert Dewar
1997-09-15  0:00   ` Tim Ottinger
1997-09-16  0:00     ` Robert Dewar
1997-09-16  0:00     ` Joachim Durchholz
1997-09-18  0:00       ` Robert Dewar
1997-08-29  0:00 ` Jon S Anthony
1997-08-29  0:00 ` Brett J. Stonier
1997-08-30  0:00 BruceMount
1997-09-04  0:00 Marin David Condic, 561.796.8997, M/S 731-96
     [not found] <97090916235363@psavax.pwfl.com>
1997-09-11  0:00 ` Robert Dewar
1997-09-15  0:00 Ell
1997-09-16  0:00 ` Tim Ottinger
1997-09-17  0:00 ` Doc
1997-09-17  0:00 Ell
1997-09-17  0:00 Ell
1997-09-17  0:00 Ell
1997-09-16  0:00 ` Mark Wilden
1997-09-17  0:00 ` Joachim Durchholz
1997-09-17  0:00 ` Robert B. Love 
replies disabled

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