POV-Ray : Newsgroups : povray.off-topic : A tale of two cities : Re: A tale of two cities Server Time
29 Jul 2024 18:18:27 EDT (-0400)
  Re: A tale of two cities  
From: clipka
Date: 14 Mar 2012 11:42:49
Message: <4f60bc79$1@news.povray.org>
Am 14.03.2012 10:42, schrieb Invisible:

> It seems either they implemented everything twice (once with, and once
> without generics), or it's actually legal to not specify type parameters
> and then they default to Object. Which, either way, is highly
> counter-intuitive...

It's actually that they /first/ implemented the stuff as non-generics 
(because Java didn't have them back then), and then added a generics 
implementation later when they discovered that generics were a good 
thing to have after all (retaining the old non-generics implementation 
for backward compatibility).


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.