POV-Ray : Newsgroups : povray.off-topic : All bow to the mighty Python : Re: All bow to the mighty Python Server Time
4 Sep 2024 13:17:22 EDT (-0400)
  Re: All bow to the mighty Python  
From: Nicolas Alvarez
Date: 21 Apr 2010 08:42:44
Message: <4bcef2c4@news.povray.org>
Darren New wrote:
> Warp wrote:
>>   Also autoindentation of Python code is a physical impossibility.
> 
> No it's not.   Replacing indentation in python once the dedents have been
> lost is problematic. But that's like complaining if you delete all the
> closing braces in C then you can't figure out where to put them back.
> 
> But making all the indents a consistent amount?  Pretty easy.

Also, many text editors automatically indent one more level after a line 
finishing with a colon. I'd call that "autoindentation".


Post a reply to this message

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