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

Re: Tabs v.s. spaces



>>>>> "Scott" == Scott James Remnant <scott@netsplit.com> writes:

    Scott> You've never had to combine 'patch' and Python programs have you?
    Scott> After receiving a few created by people with different indent
    Scott> bigotries you quickly realise why significant whitespace is a
    Scott> fundamentally bad idea.

If somebody send you Python code patch that does not use *your* indentation
style that somebody has some serious problem.  It's just like sending you a
patch with all the variable names changed to ones that he prefers.  I don't
see why this should be a show stopper.  But yes, there are other problems
introduced by whitespace as block structure.  E.g., it is more difficult to
cut some code in one function and paste it into another.  So for best
results one really have to use an editor (and perhaps other tools) that
knows about such significant whitespaces.

Regards,
Isaac.



Reply to: