POV-Ray : Newsgroups : povray.pov4.discussion.general : Identifier declaration consistent with other languages : Re: Identifier declaration consistent with other languages Server Time
2 May 2024 17:36:38 EDT (-0400)
  Re: Identifier declaration consistent with other languages  
From: Chambers
Date: 11 Nov 2008 13:48:46
Message: <6B674F3794A14536BD48AF8381DFCBB5@HomePC>
I am categorically against whitespace having meaning.

...Ben Chambers
www.pacificwebguy.com


> -----Original Message-----
> From: Allen [mailto:bri### [at] yahoocom]
> Posted At: Sunday, November 09, 2008 11:36 PM
> Posted To: povray.pov4.discussion.general
> Conversation: Identifier declaration consistent with other languages
> Subject: Re: Identifier declaration consistent with other languages
> 
> Another way to do away with #end/{/} may be to adopt a Python-like
> blocking
> mechanism where the indentation level affects the block.  Then a block
> as above
> could simply be:
> 
> MyRing = union:
>   for(x=0,x<10,x=x+1):
>     circle:
>       <...>
> ....
> 
> 
> One problem I've heard from critics of this system is that most
editors
> can't
> automatically detect and create folds.
>


Post a reply to this message

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