POV-Ray : Newsgroups : povray.general : Announcement: Moray acquired by POV-Ray; to be released as Open Source : Re: Announcement: Moray acquired by POV-Ray; to be released as OpenSource Server Time
31 Oct 2024 21:22:14 EDT (-0400)
  Re: Announcement: Moray acquired by POV-Ray; to be released as OpenSource  
From: Warp
Date: 14 Feb 2007 06:26:56
Message: <45d2f1ff@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> POV-Ray code has been C++ since 3.5 and required a C++ compiler since 3.6.

  You know, "requires a C++ compiler" and "is C++" (and not C) are two
different things. ;)

  Those gigantic switch-case blocks are the most typical C-style code
in POV-Ray. (Sure, technically speaking switch-cases are C++ too, but
in this case those gigantic switch-cases are actually C code emulating
dynamic binding, something which could be done more directly and much
more easily using C++-specific code.)

-- 
                                                          - Warp


Post a reply to this message

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