POV-Ray : Newsgroups : povray.off-topic : Java is verbose : Re: Java is verbose Server Time
29 Jul 2024 04:28:59 EDT (-0400)
  Re: Java is verbose  
From: Invisible
Date: 11 Apr 2012 04:48:15
Message: <4f85454f$1@news.povray.org>
>> 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.

Well, there's code generation, and there's code generation.

It depends whether you're using a generator to quickly build a skeleton 
for you to fill in, or whether you're using a generator so that you can 
code in the source language and not the destination one. ;-)


Post a reply to this message

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