POV-Ray : Newsgroups : povray.advanced-users : union of unions : Re: union of unions Server Time
29 Jul 2024 08:24:53 EDT (-0400)
  Re: union of unions  
From: Warp
Date: 9 Sep 2002 18:51:56
Message: <3d7d260c@news.povray.org>
Rune <run### [at] mobilixnetdk> wrote:
> It is impossible to come with any objective arguments that this is in
> fact more easy, readable or effective to use. To me, I spot that the
> start of the union keyword is on the same level as the end bracket.

  I don't know about you, but to me it's easier to spot an opening bracket
at the same column as the closing one I'm looking the pair for, than
distinguishing that some word is at the same column (specially when
there are several blocks one inside another).

> Also, there will be more consistence in POV-Ray code made by different
> people if more people stick to the style used in the vast majority of
> the POV-Ray documentation and scene files.

  Have you actually looked at the documentation? For example look at the
primitives documentation (6.5). About half of the examples are indented
in one way and the other half in the other way.

  Even if "the vast majority" of people use that indentation style, that
doesn't automatically make it good.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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