Re: Structuring with whitespace in Python



On Wed, Feb 18, 2004 at 01:41:20AM -0600, John J. Boyer wrote:

In Python program structure is indicated by indentation. doesn't this make 
debugging difficult, since a missing tab could mess up the structure of a 
program. I have enough trouble with the tabs in Makefiles.

Not if you use an editor which does not fuck up whitespace at the start of
lines.
Alternatively, you could use spaces for indentation. But some editors may
still cause problems by converting these into tabs once you go over a
certain number of spaces.


Regards,

Filip

-- 
"Microsoft shouldn't be broken up.  It should be shut down."
        -- Phil Agre on the ILOVEYOU virus.



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