Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 07:31:49 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Jordan Hubbard <jkh@winston.freebsd.org>, Poul-Henning Kamp <phk@critter.freebsd.dk>, chat@FreeBSD.ORG, Nate Williams <nate@yogotech.com>
Subject:   Re: time_t not to change size on x86
Message-ID:  <XFMail.011030073149.jhb@FreeBSD.org>
In-Reply-To: <3BDE6ED3.64DC027E@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Oct-01 Terry Lambert wrote:
> John Baldwin wrote:
>> 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:

I still prefer it to C++'s problems. :)

> 1)    It can't do multiple inheritance

Interfaces are like multiple inheritance of pure abstract classes and are
simpler to get right.
 
> 2)    You can instance classes without constructing them (the
>       JavaMail API has a number of examples of this)

So?

> 3)    Strong typing is for weak minds

Or lazy ones. :)  I wouldn't use Java for OS hacking, but for applications,
strong typing is more useful.

> -- Terry

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.011030073149.jhb>