Tabs for indentation & Spaces for alignment in Python 3?

Michael Torrie torriem at gmail.com
Sat Dec 6 12:29:12 EST 2014


On 12/06/2014 10:12 AM, Simon Ward wrote:

> Not every programmer is as conscientious in the first of place, and
> that's far easier to get wrong than just agreeing to stick to one
> thing. This is why (often more rigid) style guides (or rather
> policies) exist.

Sure, but in the world of braces languages, reformatting crappy code is
fairly trivial

> Maybe we should sack such programmers regardless of their other
> abilities instead of forcing all, including the conscientious,
> programmers to adhere to strict style policies? While I like the
> idea, I think that a slap on the wrist and a bit of
> re-indentation/re-alignment is all that is necessary (although I have
> worked with people who consider pure style changes to be a sin too).

I suppose if an employee continually submits commits that violate the
coding standard after being asked time and again to not do that, and is
too lazy to run his code through GNU indent probably should be fired.





More information about the Python-list mailing list