httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: the C++ disaster (was Re: Source code - optimised assembler)
Date Wed, 11 Mar 1998 10:14:59 GMT
Brian Behlendorf wrote:
> feul for the fire.

It is worth noting a couple of things here. First, he doesn't say that
C++ in Mozilla was a bad idea, only that it was a bad idea in the cross
platform stuff. Now, ask yourself what that means in the context of
Mozilla. That's right! It means UI. We don't have any UI. So, what he
didn't say, but clearly implied, was that C++ was a good idea everywhere
else. Which is to say, in all the kind of code Apache is.

Another point he makes is that C++ may be object oriented, but that
doesn't make people program it that way (or he may be making the point
that C can be programmed in an object oriented way, but I assume not
because that is true only in an academic sense).



> >G. Sumner Hayes wrote:
> >>
> >> Netscape chose C for some parts of the code and C++ for others, and
> >> while those may or may not be the best possible choices they're
> >> certainly reasonable ones.  They've dealt with the portability
> >> problems pretty well so far, and I presume they have a reasonable
> >> knowledge of available alternatives and the pros/cons of those.
> >
> >We have dealt with the portability problems, but at colossal cost.
> >
> >In my humble but correct opinion, it was a huge mistake to allow C++
> >code into the cross-platform areas of Mozilla.  Those who advocated
> >this underestimated the difficulty of the portability problems by
> >at least an order of magnitude.  But, what's done is done; that's
> >where we are today, and being able to say "I told you so" isn't much
> >of a reward.
> >
> >Hopefully, if we get anything out of this pyrrhic victory, at the
> >least we should be able to come up with a document that shows where
> >the land mines are buried, and that will perhaps convince others not
> >to run headlong into this same disaster in the future.
> >
> >It's too bad that most people don't get the fact that an object-oriented
> >programming style has exactly nothing to do with the programming
> >language you use.
> >
> >--
> >Jamie Zawinski      about:jwz

Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|
and Technical Director|Email: |
A.L. Digital Ltd,     |Apache-SSL author
London, England.      |"Apache: TDG"

View raw message