POV-Ray : Newsgroups : povray.general : Some musings about POV-Ray and Java... : Re: Some musings about POV-Ray and Java... Server Time
10 Aug 2024 15:20:11 EDT (-0400)
  Re: Some musings about POV-Ray and Java...  
From: Nieminen Juha
Date: 26 Nov 1999 09:28:02
Message: <383e98f2@news.povray.org>
Johannes Hubert <jht### [at] nove-mailcom> wrote:
: I like both C++ and Java and use them as appropriate for the job. What do
: you have in mind when you say "limitations"?

  No templates, typedefs, operator overloading, macros, enums, etc. You can't
pass an instance of a class by value (only by reference). On the other hand,
you can't pass an integer (or other similar types) by reference, only by
value. You can only make multiple inheritance from interfaces but not from
classes (which means that you can't make default implementations for the
methods, but you have to implement _all_ the methods each time you inherit).
  And more.

: I think Java has an advantage over C++ here, because it doesn't need to be
: linked.

  I don't see the advantage.

: Well, I guess it is rather a strange idea, since probably no-one would use
: it anyway... :-)

  That's sadly true...

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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