POV-Ray : Newsgroups : povray.pov4.discussion.general : Curly braces replaced by indentations but only as an option ? : Re: Curly braces replaced by indentations but only as an option ? Server Time
2 Apr 2025 20:42:27 EDT (-0400)
  Re: Curly braces replaced by indentations but only as an option ?  
From: Bald Eagle
Date: 19 Mar 2025 14:20:00
Message: <web.67db09ab7e3c5a9925b4de9225979125@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

> If spaces and tabs were to suddenly have real meaning in POV 4, and depending on
> how we each write POV code-- the layout of the text-- it could break all of our
> old scenes, going back decades.

Aye, lad.  But we're talking about POV-Ray 4.0, dontchaknow.
Let's cast off the shackles of "backward compatibility" and do something NEW!

It's not like the old versions will be deleted from the fabric of reality.

> For example, I personally write code with tabbed indents, just to make the
> various constructs clear in my mind. Like...
>
> sphere{0,1
>      texture{
>           pigment{rgb 1}
>           finish{...}
>             }
>      normal{...}
>       }

I do it just to make jr twitch to the verge of seizures.
Other times I simply do things because I think they're a CAPITAL IDEA.

I think the real value of opening and terminating symbols is their utility for
future delinters and debuggers.
I have already expressed my support for MORE different kinds of brackets and
parentheses, as well as #endif, #endwhile, #endfor, #endmacro, etc.

- BW


Post a reply to this message

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