Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Mar 2002 11:18:07 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Nate Williams <nate@yogotech.com>
Cc:        Brett Glass <brett@lariat.org>, freebsd-chat@FreeBSD.ORG
Subject:   Re: C vs C++
Message-ID:  <3C866B6F.B5EE54E2@mindspring.com>
References:  <4.3.2.7.2.20020306075350.00ddfb00@localhost> <3C857080.44C5236B@mindspring.com> <20020305193028.H6706-100000@alpha.yumyumyum.org> <4.3.2.7.2.20020306114140.02d4baa0@localhost> <15494.26382.819650.400667@caddis.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Williams wrote:
> > >So, why don't you like Java if you like safer languages?
> >
> > Because of the "oh, no!" factor.
> >
> > You see, whenever Java starts up in a user's browser, the result
> > is invariably a long delay (during which the browser freezes).
> 
> The use of Java doesn't necessarily imply the user of a browser.  As a
> matter of fact, I don't consider Java on the browser to be a
> viable/useful use of Java, except for 'Toy' applets (bouncing dots,
> waving flags, etc..)

Heh.  I hacked my Netscape to say "Slowing down...." instead
of "Starting Java...".


> > What's more, I'm not an OOP fanatic. Anything that's inescapably
> > object oriented requires a long learning curve and can be quite
> > inefficient.
> 
> I *used* to think that way until I actually took the time to implement
> something that forced (!) me to design something in an OOP way., without
> the language getting in the way.
> 
> Being C-like I didn't have to re-learn alot of what I already know, so I
> could spend more time on the design instead of trying to figure out the
> language so much.  Also, I was lucky in that the project had no hard and
> fast deadlines, so we were free to re-implement some of the basic
> infrastructure two or three times before we brought it to market.
> 
> We were able to correct a number of mistakes we made in the first
> iteration, and then go back and correct our 'fixes' in the third
> iteration. :)

Yes.  Object decomposition has a lot of value, even when
compared to functional decomposition, for avoiding a lot
of problems.  Like anything, it's a tool, and the more
tools you have, beyond just a pair of vice grips and a
flat blade screwdriver, the better mechanic you can be
(on the flip side, buying a bunch of tools doesn't make
you a mechanic 8-)).

When I was doing technical review on Vahalia's book back
in 1995, I explicitly recommended against using O-O based
examples and terminology; at the time, it wasn't well taught
in colleges (it was just starting to come into wider vogue),
and using the terminology would have limited the accessability
of the information.

Given the knee-jerk reactions on this thread to O-O C++ and
even Java programming, I'm still glad I pressed the issue,
though at the time, it was a tough call.  8-).


-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C866B6F.B5EE54E2>