Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 08:20:44 -0700
From:      Nate Williams <nate@yogotech.com>
To:        tlambert2@mindspring.com
Cc:        John Baldwin <jhb@FreeBSD.org>, Nate Williams <nate@yogotech.com>, chat@FreeBSD.org
Subject:   Re: time_t not to change size on x86
Message-ID:  <15326.50508.909158.688936@caddis.yogotech.com>
In-Reply-To: <3BDE6ED3.64DC027E@mindspring.com>
References:  <XFMail.011029134349.jhb@FreeBSD.org> <3BDE6ED3.64DC027E@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > My personal peeve with C++ is that is a growth on teh side of C (although at
> > this point it's larger than C..)  I prefer the way Java lays out code
> > (functions defined within the class, etc.).  Unfortunately, the
> > implemenetations of Java running around aren't the speediest unless you are
> > running !FreeBSD. :-/  Granted, speed isn't needed for all things.
> 
> Java has several problems:
> 
> 1)	It can't do multiple inheritance

This is certainly not a problem.  This is a good thing, and one of the
strengths of Java.  It doesn't bring in all of the *crap* that C++ does.
In any case, you can perform almost all of the same functionality using
interfaces, in a much cleaner fashion.  I've yet to find a good example
of multiple inheritance that couldn't also be done in a simpler fashion
using Java + inheritance.

> 2)	You can instance classes without constructing them (the
> 	JavaMail API has a number of examples of this)

And your point is?

> 3)	Strong typing is for weak minds

That's an elitist attitude from someone who hasn't tried using it.



Nate

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?15326.50508.909158.688936>