|
|
"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
|
|