POV-Ray : Newsgroups : povray.pov4.discussion.general : Next Generation SDL Brainstorming : Re: Next Generation SDL Brainstorming Server Time
15 May 2024 18:09:50 EDT (-0400)
  Re: Next Generation SDL Brainstorming  
From: Bill Pragnell
Date: 27 Mar 2009 05:00:00
Message: <web.49cc943fad5940476dd25f0b0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
>   A simple for-loop removes most if not all the confusion.

I'm not sure. The opinions of people like Kenneth are quite valuable here,
because they are still at a place that those of us who write code fluently can
only dimly remember. I honestly can't remember if I had more trouble with for
loops than while loops when I was learning to program. From where I'm standing,
it could easily be argued that for loops are the more challenging.

>   And it's not like the for-loop would *replace* while-loops.

Well, true. If we have both, then it's not an issue :-)


As an aside, I think there *has* to be a legacy parser (as I believe clipka
suggested). There is just too much useful stuff that will break, and users who
will either stick to pre-4.0 versions or stop using POV completely. Also,
having a simpler, more 'approachable' SDL will encourage users in, as it does
now. I see no problem in the old-style option being more restrictive; this
will, in turn, encourage the more confident user to move on to the new. Of
course, we will need plenty of code and tutorials posting here in the early
days to help everyone out!

(Don't get me wrong, I'm all in favour of a new SDL - indeed, I'm salivating at
the possibilities!)

Bill


Post a reply to this message

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