POV-Ray : Newsgroups : povray.off-topic : All bow to the mighty Python : Re: All bow to the mighty Python Server Time
4 Sep 2024 17:19:44 EDT (-0400)
  Re: All bow to the mighty Python  
From: Warp
Date: 21 Apr 2010 12:07:26
Message: <4bcf22be@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> >   Indenting is easier when the editor does it for you.

> You should try an IDE that indents Python for you. It's really actually 
> fewer keystrokes than C-like languages, because the start-of-indent is part 
> of the syntax. There's an indent key and a dedent key

  In emacs there's one single key for indenting, which will indent new lines
or existing lines, regardless of where in the line the cursor is at the
moment and whether the line is currently over-indented or under-indented.

  How is that "fewer keystrokes".

> and you use them *instead* of { and }.

  { and } have nothing to do with indentation. They aren't even necessary
for all code blocks.

-- 
                                                          - Warp


Post a reply to this message

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