|
|
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
|
|