POV-Ray : Newsgroups : povray.general : Serializing a dictionary : Re: Serializing a dictionary Server Time
13 Jul 2025 12:08:20 EDT (-0400)
  Re: Serializing a dictionary  
From: Josh English
Date: 9 Jul 2025 00:41:01
Message: <686df2dd$1@news.povray.org>
On 7/7/2025 7:28 AM, Bald Eagle wrote:
> Josh English <Jos### [at] joshuarenglishcom> wrote:
> 
> 
> So, this is a common problem, with start and end bracketing "directives" or
> whatever we call them
> 
> #if #end
> #while #end
> texture {     }
> function {     }
> etc
> 
> I use large (5-space) TABS to maximize the visual placing of the start and end
> of my code blocks.

Yeah, I should get into that practice. I don't do that in any other 
language, though, so I suspect an uphill battle.
> 

> 
> Maybe someone can suggest a command-line script to grep opening and closing
> parentheses and give a count.

I might be able to scribble out some Python to do that, come to think of it.


Uncle Josh


Post a reply to this message

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