POV-Ray : Newsgroups : povray.off-topic : Java is verbose : Re: Java is verbose Server Time
29 Jul 2024 04:17:24 EDT (-0400)
  Re: Java is verbose  
From: Darren New
Date: 10 Apr 2012 21:02:42
Message: <4f84d832$1@news.povray.org>
On 4/10/2012 7:33, Invisible wrote:
> Have your forgotten? This is Java. 2 is not an object. Therefore it can
> never be passed to something expecting Object.

At least they figured out auto-boxing 95% of the way.

> I almost feel like I should be writing a "compiler" that takes the 3-line
> version saying what data structure I want, and generates the 5-file 44-line
> monstrosity that the Java compiler expects. It would save me a bunch of
> typing, and then I could go in and write the actual code that turns it into
> more than just a dumb data structure...

Ah, good old code generation. Hope you don't have to track down a bug in the 
generated code anywhere.


-- 
Darren New, San Diego CA, USA (PST)
   "Oh no! We're out of code juice!"
   "Don't panic. There's beans and filters
    in the cabinet."


Post a reply to this message

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