|
|
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
|
|
|
|
Among other things, HENON fabien wrote:
> Does pyvon work ? Do you have a problem with xterm ?
Yes, it works (after the changes I mentioned). I haven't seen any problem
with xterm.
> If you know that you have the proper packages already installed you can
> try
>
> rpm -ivh --force --replacepkgs the_package_you_want_to_install.rpm
>
> This overrides the error messages and replaces all the installed packages
> (if any)
That could be a way (wouldn't --nodeps be enough?), but I prefer installing
from tgz to a forced rpm :)
--
Linux User #289967 (counter.li.org)
PGP Pub Key ID: 0x01A95F99 (pgp.escomplinux.org)
Post a reply to this message
|
|