POV-Ray : Newsgroups : povray.general : Status of Moray? : Re: New SDL for POVRay Server Time
13 Jul 2025 18:49:49 EDT (-0400)
  Re: New SDL for POVRay  
From: Nicolas George
Date: 20 Sep 2007 13:56:05
Message: <46f2b435$1@news.povray.org>
"Zeger Knaepen"  wrote in message <46f15701$1@news.povray.org>:
> I prefer the current syntax actually. All the commas after ] seem completely 
> redundant, the keyword scene is a nice idea if it would be possible to 
> define multiple scenes in one file, but it should be optional.
> The line "use Colors;" seems completely out of place for two reasons: first, 
> Colors what? Colors.inc ? Colors.pov ? ..? second, considering the rest of 
> the syntax, wouldn't something like "include [colors.inc,textures.inc]" be 
> more consistent?

I believe you somewhat missed my point. The sample code I just posted is not
just a random suggestion of syntax: it is perfectly valid Perl code: if
someone writes the few functions it uses, it will parse and run perfectly.

My point is to show that, although it is not possible to keep exactly the
same syntax as the current one, it is possible to use a real programming
language while keeping the syntactic noise very low.

And please note that a part of your remarks comes from habit rather than
real syntactic superiority.

The advantages of using a real programming language are obvious: the time of
PoV developers is better spent improving the rendering features than
reinventing support for data structures and control loops.


Post a reply to this message

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