[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-scanlibs

> On Sun, Feb 25, 2001 at 10:29:43PM -0600, Jon Nelson wrote:
> > Eeek!  You misunderstand the root problem here, I think.
> > Python uses indent level to represent blocks.  If those indent levels
> > are different in different editors, you *change* what the program does.
> > Unlike in C, where indentation doesn't matter, who cares? But with
> > Python, it can be vital. You choose 8.  So does wichert. I like 2 in python,
> > 4 in everything else.  Most of the Python community seems to prefer
> > either 2 or 4, and rarely 8. So what? If it is done with spaces it is 
> > unimportant, but done with tabs it's vital.
> What are you talking about?  A TAB character is just ASCII-9 or control-I --
> how many "spaces" a tab is is just an editor display function.

That is exactly my point -- every editor / personal setting will be different
as to how many spaces a tab represents.  There are many programs floating 
around (3 are shipped *with* Python) to convert tabs to N spaces (if your
editor uses tabs).  In my editor of choise, FTE, I turn tabs off. When I smack
tab, it inserts 2 spaces, or 4, or however many I want.

"We all enter this world in the same way: naked; screaming; soaked in
blood. But if you live your life right, that kind of thing doesn't have
to stop there." -- Dana Gould

Jon Nelson

Reply to: