> Person A wrote it, it mainly worked.  Person B reformatted it, and it
> broke. I was called in to help figure out how to fix it, as Person A no
>  longer worked there.

If Person B reformats without testing then you're going to have
problems in *any* language not just Python.

> Unforunately he used tabs and the other guy used spaces).  This
> is why using indentation as a language concept is bad.

There are ways to deal with this.  For example, Python has a switch
to treat combinations of tabs and spaces as errors.  Also, editors
can be set to replace tabs with spaces when saving.  But again,
if Person B is going to muck up code without testing it then your orgs
problems goes beyond Python indentation.


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to