Date: Tue, 30 Oct 2001 08:23:45 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: John Baldwin <jhb@FreeBSD.org> 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: <3BDED411.DDEA0BD7@mindspring.com> References: <XFMail.011030073149.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > > Java has several problems: > > I still prefer it to C++'s problems. :) These all devolve into programmer issues. They are no worse than the requirement to use prototypes or the "volatile" keyword, which were added to C. > > 1) It can't do multiple inheritance > > Interfaces are like multiple inheritance of pure abstract classes and are > simpler to get right. They are simpler, but they rob you of the ability to do necessarily complex tasks. > > 2) You can instance classes without constructing them (the > > JavaMail API has a number of examples of this) > > So? It should not be permited to have unconstructed instances lying around. This all derives from Java trying to claim that it doesn't have pointers, it has "references". IMO, this was added for CS professors who still are unable to distinguish pointer and array math. As a friend of mine might says "Happy Prof Land" (the same place where array indices are never out of bounds). > > 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. Sized types would be much more useful, particularly for C, but ANSI keeps wimping out... -- 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?3BDED411.DDEA0BD7>