Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 11:58:30 -0400 (EDT)
From:      Chris BeHanna <behanna@zbzoom.net>
To:        FreeBSD-Java <java@FreeBSD.ORG>
Subject:   Re: Sun Keynote at JavaCon2000 - C++ templates
Message-ID:  <Pine.BSF.4.21.0010041154340.3367-100000@topperwein.dyndns.org>
In-Reply-To: <39DB3748.72E7C55@ox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Oct 2000, Rob Furphy wrote:

> I'm curious, what is it about C++ style templates that you feel will
> be good for java?
> (Anyone?)

    Type-safe collections, allowing compile-time type-checking.  In
large C++ systems, huge numbers of potential errors are caught this
way.  Better 100 compile-time errors than a single run-time
error--*especially* if that error is discovered after deployment!

    There are other uses; e.g., generic algorithms implemented in
template classes that again offer compile-time type checking, thereby
reducing the number of run-time type errors that you'd have to track
down.

> I don't see mention of such a jsr here:
> http://java.sun.com/aboutJava/communityprocess/search.html

    Try
http://java.sun.com/aboutJava/communityprocess/jsr/jsr_014_gener.html .

--
Chris BeHanna
Software Engineer (at yourfit.com)
behanna@zbzoom.net




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010041154340.3367-100000>