POV-Ray : Newsgroups : povray.pov4.discussion.general : Next Generation SDL Brainstorming : Re: Next Generation SDL Brainstorming Server Time
28 Sep 2024 18:36:43 EDT (-0400)
  Re: Next Generation SDL Brainstorming  
From: Carlo C 
Date: 28 Mar 2009 04:45:00
Message: <web.49cde32ead594047609a56250@news.povray.org>
"clipka" <nomail@nomail> wrote:
> nemesis <nam### [at] nospam-gmailcom> wrote:
> > Errata: read v as vec. :P
>
> Ah, yes, maybe *that's* why I didn't get it?! ;P
>
> > Let's put c and my scheme idiom side-by-side:
> >
> > ((range 0 9) '() (lambda (i o) (vector-set! vec i (* i i)) o))
> > for(int i=0;i++<10;)vec[i]=i*i;
>
> Well, that's (1) not plain C but C++, and (b) obfuscated. Plain, common-style C
> would be:
>
> int i; for (i=0;i<10;i++) vec[i]=i*i;
>
> > (for i 0 9 => (@! vec i (* i i)))
> >
> > Much better. :)
>
> Um... for an obfuscated code contest - yes, I guess so :P
>
> I don't claim the C family of languages to have a less obfuscated syntax - but I
> have a feeling that at least the basic concept is much more "digestible" to the
> average programmer...

If it can be useful the point of view of a non-programmer and a beginner in
POV-ray...

POV language is simple and intuitive, and there are not hateful things, like:

- *<>* or *</>* for each line...
- long word, filled with *__*, etc.

- billion of brackets of all types that disorientate...

Here, would it be possible to make the POV-language more powerful while
preserving the characteristics of simplicity?
:-)

--
Carlo


Post a reply to this message

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