POV-Ray : Newsgroups : povray.programming : language design (was Re: hash marks) Server Time
28 Jul 2024 18:21:51 EDT (-0400)
  language design (was Re: hash marks) (Message 31 to 33 of 33)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Vadim Sytnikov
Subject: Re: language design (was Re: hash marks)
Date: 15 Mar 2002 12:00:47
Message: <3c9228bf$1@news.povray.org>

> I like power which appear in
> ability to write short scripts like for example sigs :-)

I see... and I would like to assure you that I... err, share your desire for
poerful features. The *only* question is -- how is that power unleashed?

I, for one, cannot be convinced not to use forward goto's in C at all --
there is simply no other efficient way to escape deeply nested loop. In
Java, one can demand that there must be no goto's at all -- since there are
labeled loops AND you can always 'break' the loop you want (by its label).
In C, you sometimes have no alternative, especially in a time-critical
code...

So, as to POV-Ray, the challenge is just provide powerful AND
well-structured featureas which will render puwerful BUT unreliable features
obsolete.


Post a reply to this message

From:
Subject: Re: language design (was Re: hash marks)
Date: 15 Mar 2002 12:19:47
Message: <ff949ucumci7n7q6e9sjip5j0jv7j0ls82@4ax.com>
On Fri, 15 Mar 2002 19:39:04 +0300, "Vadim Sytnikov" <syt### [at] rucom> wrote:
> You have to have well-defined scope rules to just cope with the complexity.
> To make your scenes editable by someone else -- that is, to share code
> (models etc.) Have you been using someone else's POV-Ray model recently?
> Were you able to edit it?

Well, You can look at povray.general, povray.text.scene-files and
povray.binaries.scene-files into splitted thread about IsoCSG include file. It
started yesterday and I have posted at least 4 extensions into that (including
whole rebuild with different parameters handling) and discuted it even more.
But IIRC there wasn't such splitted syntax. But I always look into sigs of
POV-ers. They _always_ use confusable (is there such word?) syntax. Usually it
takes me some short time to understand - but those sigs were written to
confuse so nothing strange. Anyway if there (in sigs) is something to improve
in confusing or length I usually send it. It's known fact, you can dig on
news.

> > Did you use php ? You can open HTML tag inside php
> > condition statement and close it outside.
>
> Have you been editing someone else's php code recently? Were that easy?

I haven't used php recently so I can't answer. I'm also not even half
experienced in php as in pov (supposing I have some experience in POV) so I'm
probably not a good target for this question. But I use other server-side
language (WebSpeed platform) and work in team with success. We builded and
maintain broker service with it. It use html splitting as in posted example.

> I'm not talking about what is possible (has precedents etc.) and what isn't.
> I'm talking about what's better (== easier, more reliable).

Allocating memory for additional objects, floats, strings, transformations
isn't better in this case imo.

ABX


Post a reply to this message

From: Vadim Sytnikov
Subject: Re: language design (was Re: hash marks)
Date: 15 Mar 2002 17:21:41
Message: <3c9273f5@news.povray.org>
> They _always_ use confusable (is there such word?) syntax.

Obfuscated is the right word. There is/was even such thing as IOCCC (stands
for the International Obfuscated C Code Contest); IMHO quite amusing...


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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