POV-Ray : Newsgroups : povray.text.scene-files : Eyeball code. : Re: Eyeball code. Server Time
29 Jul 2024 02:23:59 EDT (-0400)
  Re: Eyeball code.  
From: Nieminen Mika
Date: 21 Jun 1999 02:52:35
Message: <376de133@news.povray.org>
Morpheus Dreamlord <mor### [at] excitecom> wrote:
: I hate indented code

  I wonder why.

  I understand if someone doesn't care if the code is indented or not, but
I really don't understand why anyone can hate it. It's like hating the way
the netscape news reader indents the articles and the responses or hating
the way the newspaper arrange their pages (when the alternative is that
everything is in one wrapping line).
  I also wonder how can anyone understand the unindented code.
  Since I like to show examples about this, here is one again:

#ifdef(Im) #declare a=zr*zr; #declare b=zi*zi; #declare zi=2*zr*zi+Im;
#declare zr=a-b+Re; #declare n=n+1; #if(n<9 & a+b<4) #include "obfmand.pov"
#else sphere {<Re,n/20,Im>,.05 pigment{rgb <n/9,0,0>} finish{specular .5}}
#debug substr(c,n,1) #declare Re=Re+.05; #end #else #declare c=" .,-=OXM#"
#declare Im=-1; #while(Im<=1) #declare Re=-2; #while(Re<=1) #declare zr=Re;
#declare zi=Im; #declare n=0; #include "obfmand.pov" #end #debug "\n" #declare
Im=Im+.05; #end camera { location <-3,5,-5> look_at -x*.5 angle 35 }
light_source { <100,100,0> 1 } #end


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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