Date: Wed, 4 Oct 2000 22:52:35 -0700 From: "Renaud Waldura" <renaud@waldura.com> To: <behanna@zbzoom.net>, "Jay Sachs" <jay@avacet.com> Cc: "Greg Lewis" <glewis@trc.adelaide.edu.au>, "FreeBSD-Java" <java@FreeBSD.ORG> Subject: Re: Sun Keynote at JavaCon2000 - C++ templates Message-ID: <00e801c02e90$75f47fe0$0302010a@biohz.net> References: <Pine.BSF.4.21.0010041851030.46992-100000@topperwein.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
How are we going to create those generic classes by name? It doesn't seem to be addressed in the spec. What if the parameterized type doesn't exist yet? I don't know about this... It really looks like to me that in effect parameterized classes are meta-classes, and maybe they should be identified as such. How about a meta class type, that you can instantiate with your parameter type the regular way? It sounds like a parameterized class is a class describing potentially many very different classes: a meta class. Just like classes specify instances with different fields, meta classes specify classes with different types. "Instantiate" a meta class to get a class parameterized to your type. It feels like we're about to introduce this strange new citizen into the language, the "parameterized class", which is not really a class, but somehow is. --Renaud 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?00e801c02e90$75f47fe0$0302010a>