POV-Ray : Newsgroups : povray.unix : Pyvon 1.3 : Re: Pyvon 1.3 Server Time
6 Oct 2024 15:23:56 EDT (-0400)
  Re: Pyvon 1.3  
From: gimi
Date: 29 Jan 2003 14:43:40
Message: <3E382E10.2060809@psico.ch>
fabien Henon wrote:
 >gimi wrote:
> > Spaces are unambiguous.
> 
> And heavy. In some cases in python scripts, if tab sizes are set to 8 
> (as was my case when I started using Kate), you have to type 8 times on 
> the space. If you have heavily nested declarations, you have to multiply 
> that number by the levels of nesting. Imagine what it's like in a 2000+ 
> line script (pyvon)
> I did started using spaces instead of tabs because at first I did not 
> bother setting up tab size on the different editors.

If you use an editor that deserves its name, you could cofigure
it to insert (up to) 8 spaces instead of a single tab, exactly
like the pov editor can! - And, if you are programming in Python,
you should IMHO use something less than 8-char tabs; as i mentioned,
I usually program Python with tab size 2, that's enough.

But hitting the space bar thousands of times isn't fun... - You
have auto-indenting turned on, haven't you? ;)

(Oh, and just in case somebody would like to argue that source
files use too much disk space if one uses spaces instead of tabs
- that would really be ridiculous... :)

> But this is a bit off-topic in here.

Agreed. - Let's do some rendering now! :)


g.

-- 
mailto:gim### [at] psicoch
http://www.psico.ch/ 
http://psico.servehttp.com/


Post a reply to this message

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