[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: object-oriented C programming



On Tue, 5 Dec 2000, David Starner wrote:

> On Tue, Dec 05, 2000 at 11:23:36AM -0500, David Greene wrote:
> > On 4 Dec 2000, Thomas Bushnell, BSG wrote:
> > 
> > > One of the key language supports it needs is GC'd memory management.  
> > 
> > It certainly makes things easier, but if I don't want to use it, I don't
> > want it forced on me.  Automatic variables are nice.
> 
> C/C++ with the Boehm-Weiser GC will let you chose what you want garbage
> collected and not. So will Modula-3, but that's moribund. 

Precisely my point.  Garbage collection is a library issue and IMHO
shouldn't be forced upon the developer by the language.  If the
language specifies an optional GC'er, that is better, but I prefer
the option of choosing which GC'er I want to use.  Yes, that may get me
into trouble with code that uses multiple GC'er's, but IMHO that is poor
code design that did not take reuse into consideration.

                                       -Dave

-- 

"Some little people have music in them, but Fats, he was all music,
 and you know how big he was."  --  James P. Johnson



Reply to: