POV-Ray : Newsgroups : povray.general : long syntax : Re: long syntax Server Time
6 Aug 2024 04:17:37 EDT (-0400)
  Re: long syntax  
From: Christopher James Huff
Date: 24 Jul 2002 14:13:33
Message: <chrishuff-363063.13062024072002@netplex.aussie.org>
In article <Xns### [at] 204213191226>,
 "Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote:

> > referrs to, they see "@@fi" followed by a bunch of similar garbage and
> > what do you expect them to think?
> 
> "wow, it looks like bash" ;)

How many people who don't like the scripting aspect of POV will be that 
familiar with bash?
Besides, shell scripting languages aren't exactly the ideal of 
programming languages... ;-)


> in Pascal/Delphi You have
>   procedure fun(i : integer):integer; begin end;
>   for i:=1 to 10 do begin end;
> 
> in C
>   fun(int t) {} 
>   for (i=1;i<=10;i++){}

You forgot a return type for the C function...and the Pascal also looks 
a little funny, though it's been too long since I used it. Comparing a 
function and procedure seems odd. Might be differences between what I 
learned and Delphi.


> I like C synax mose, and You ?

C. "==" for equality always seemed more obvious than ":=" for 
assignment, and the "{}" braces seem like a nice way to enclose blocks, 
visually obvious and short to type.
Your point? I don't see any indecipherable abbreviations or weird 
symbols in either of those. The "++" operator and for() statement come 
close, but are pretty obvious once explained. Pointers definitely would 
qualify, for both languages, but I don't think they are relevant...I 
definitely wouldn't say people should use either language for POV, since 
they are designed for programmers, though parts of the POV language 
could be improved by copying them.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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